import pytest @pytest.mark.parametrize('foo, bar', ( ('a', True), ('a', False), ('b', True), ('b', False) )) def test_multi(foo, bar): print(foo, bar)