You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests::test_b has been marked to depend on Tests::test_a. That means, it will be skipped unless Tests::test_a has been run successfully. As you can see in the output you cite, you have four tests: Tests::test_a[1], Tests::test_a[2], Tests::test_a[3], and Tests::test_b, but no Tests::test_a.
test_b will always be skipped!
python3 -m pytest -rvAt temp/
============================================================================ test session starts ============================================================================
platform linux -- Python 3.6.9, pytest-5.4.3, py-1.8.1, pluggy-0.13.1
rootdir: /workspace
plugins: reportlog-0.1.1, dependency-0.5.1
collected 4 items
temp/test_x.py ...s [100%]
================================================================================== PASSES ===================================================================================
========================================================================== short test summary info ==========================================================================
PASSED temp/test_x.py::Tests::test_a[1]
PASSED temp/test_x.py::Tests::test_a[2]
PASSED temp/test_x.py::Tests::test_a[3]
SKIPPED [1] /usr/local/lib/python3.6/dist-packages/pytest_dependency.py:103: test_b depends on Tests::test_a
The text was updated successfully, but these errors were encountered: