Ethereum, Solidity, Python, Blockchain, Cryptocurrency.
using the @pytest.mark.parametrize decorator, as shown in the example below: import pytest @pytest.mark.parametrize("amount", [0, 42, 1000, 31337]) def test_transfer_adjusts_balance(token, accounts, amount): from_balance = token.balanceOf(accounts[0]) to_balance = token.balanceOf(accounts[1])