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
pytest --collect-only tests/unit/ tests/unit/test_one.py collects only tests from tests/unit/test_one.py
While I would expect it to collect tests from all test files.
How can I force pytest to collect all tests from tests/unit/ ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I'm getting unexpected collection behavior.
Folder layout
pytest --collect-only tests/unit/ tests/unit/test_one.pycollects only tests fromtests/unit/test_one.pyWhile I would expect it to collect tests from all test files.
How can I force pytest to collect all tests from
tests/unit/?All reactions