-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
--last-failed
is broken for parametrized and class tests since 5.4
#6968
Labels
topic: collection
related to the collection phase
type: bug
problem that needs to be addressed
type: regression
indicates a problem that was introduced in a release which was working previously
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
blueyed
added a commit
to blueyed/pytest
that referenced
this issue
Apr 2, 2020
Only filter with known failures, and explicitly keep paths of passed arguments. This also displays the "run-last-failure" status before collected files, and does not update the cache with "--collect-only". Fixes pytest-dev#6968.
blueyed
added a commit
to blueyed/pytest
that referenced
this issue
Apr 2, 2020
Only filter with known failures, and explicitly keep paths of passed arguments. This also displays the "run-last-failure" status before collected files, and does not update the cache with "--collect-only". Fixes pytest-dev#6968.
blueyed
added a commit
to blueyed/pytest
that referenced
this issue
Apr 2, 2020
Only filter with known failures, and explicitly keep paths of passed arguments. This also displays the "run-last-failure" status before collected files, and does not update the cache with "--collect-only". Fixes pytest-dev#6968.
blueyed
added a commit
to blueyed/pytest
that referenced
this issue
Apr 2, 2020
Only filter with known failures, and explicitly keep paths of passed arguments. This also displays the "run-last-failure" status before collected files, and does not update the cache with "--collect-only". Fixes pytest-dev#6968.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
topic: collection
related to the collection phase
type: bug
problem that needs to be addressed
type: regression
indicates a problem that was introduced in a release which was working previously
pytest==5.3.5
First run (
pytest test_foo.py
): 2 failed, 2 passedpytest --last-failed test_foo.py
: 2 failed, 2 deselectedpytest==5.4.1
First run (
pytest test_foo.py
): 2 failed, 2 passedpytest --last-failed test_foo.py
: 1 failedIt only reruns parametrized test, but not
TestPyTest.test_bad
The text was updated successfully, but these errors were encountered: