I want to achieve something like this:
my conftest.py will contain:
- fixture_1 - will do some manipulation with input such as a, b, c using request.param
- fixture_2 - will do some manipulation with input such as a, b, c using request.param
- fixture_3 - will do some manipulation with input such as a, b, c using request.param
@pytest.mark.parametrize('param_name', ['a', 'b', 'c'], indirect=True)
class TestDummy(object):
def test_x(self, fixture_1):
fixture_1_output = fixture_1
assert False
def test_y(self, fixture_2):
fixture_2_output = fixture_2
assert False
def test_z(self, fixture_3):
fixture_3_output = fixture_3
assert False
Any suggestion would be highly appreciated.