chore: Add support for confftest for parameterized tests to have no values
ref: #789
This commit is contained in:
@ -270,6 +270,14 @@ def pytest_generate_tests(metafunc):
|
||||
ids = ids,
|
||||
)
|
||||
|
||||
else:
|
||||
|
||||
pytest.mark.xfail(
|
||||
reason = 'No Parameters for parameterized test'
|
||||
)(
|
||||
getattr(metafunc.cls, metafunc.definition.name)
|
||||
)
|
||||
|
||||
|
||||
|
||||
@pytest.fixture( scope = 'class')
|
||||
|
Reference in New Issue
Block a user