Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest -f does not notice new tests #111

Open
RonnyPfannschmidt opened this issue Jan 18, 2017 · 0 comments
Open

pytest -f does not notice new tests #111

RonnyPfannschmidt opened this issue Jan 18, 2017 · 0 comments

Comments

@RonnyPfannschmidt
Copy link
Member

move of pytest-dev/pytest#532

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant