pytest -f does not notice new tests #532
Labels
plugin: cache
related to the cache builtin plugin
plugin: xdist
related to the xdist external plugin
type: bug
problem that needs to be addressed
Originally reported by: Dima Tisnek (BitBucket: dimaqq, GitHub: dimaqq)
pytest -f appears to latch to the set of test cases on first run and does not detect when new test is added.
e.g. test_foo.py:
def test foo(): assert 0
run pytest -f test_foo.py
(one test failing)
edit test_foo.py, add
def test_bar(): assert 0
(still only one test failing)
The text was updated successfully, but these errors were encountered: