We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@given("test generated fixture") def test_generated_fixture(normal_fixture, generated_fixture): print(fixture) print(generated_fixture) return 1
@pytest.fixture def normal_fixture(): return 1
def pytest_generate_tests(metafunc): if "generated_fixture" in metafunc.fixturenames: metafunc.parametrize("generated_fixture", [1, 2, 3])
will result in error E fixture 'generated_fixture' not found
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@given("test generated fixture")
def test_generated_fixture(normal_fixture, generated_fixture):
print(fixture)
print(generated_fixture)
return 1
@pytest.fixture
def normal_fixture():
return 1
defined pytest_generated_tests in conftest.py
def pytest_generate_tests(metafunc):
if "generated_fixture" in metafunc.fixturenames:
metafunc.parametrize("generated_fixture", [1, 2, 3])
will result in error
E fixture 'generated_fixture' not found
The text was updated successfully, but these errors were encountered: