We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee9dad8 commit daee3bdCopy full SHA for daee3bd
pytest_dependency.py
@@ -117,6 +117,10 @@ def pytest_configure(config):
117
global _automark, _ignore_unknown
118
_automark = _get_bool(config.getini("automark_dependency"))
119
_ignore_unknown = config.getoption("--ignore-unknown-dependency")
120
+ config.addinivalue_line("markers",
121
+ "dependency(name=None, depends=[]): "
122
+ "mark a test to be used as a dependency for "
123
+ "other tests or to depend on other tests.")
124
125
126
@pytest.hookimpl(tryfirst=True, hookwrapper=True)
0 commit comments