[Pytest-commit] Issue #532: pytest -f does not notice new tests (hpk42/pytest)

Dima Tisnek issues-reply at bitbucket.org
Wed Jun 25 12:14:52 CEST 2014


New issue 532: pytest -f does not notice new tests
https://bitbucket.org/hpk42/pytest/issue/532/pytest-f-does-not-notice-new-tests

Dima Tisnek:

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)






More information about the pytest-commit mailing list