Mark a test to be used as a dependency for other tests or to depend on other tests.
This will cause the test results to be registered internally and thus other tests may depend on the test. The list of dependencies for the test may be set in the depends argument.
Parameters: |
|
---|
Add dependency on other test.
Call pytest.skip() unless a successful outcome of all of the tests in other has been registered previously. This has the same effect as the depends keyword argument to the pytest.mark.dependency() marker. In contrast to the marker, this function may be called at runtime during a test.
Parameters: |
|
---|
New in version 0.2.