-
-
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
Invalid percentages of Test Suite progress #3088
Labels
topic: reporting
related to terminal output and user-facing messages and errors
type: bug
problem that needs to be addressed
Comments
@merzlya thanks for the report! |
it looks even stranger without
|
I realized that this is probably also giving wrong output for plugins like pytest-rerunfailures... |
This was referenced Jan 10, 2018
This fix will need a new hook (#3102), but after that the solution is simple and I managed to fix it locally. 😁 |
nicoddemus
added a commit
to nicoddemus/pytest
that referenced
this issue
Jan 11, 2018
alanbato
pushed a commit
to alanbato/pytest
that referenced
this issue
Jan 24, 2018
blueyed
added a commit
to blueyed/pytest
that referenced
this issue
Feb 10, 2020
What's needed to fix pytest-dev#3088 seems to be checking for `rep.when == "setup"`. This then needs adjustments though (to code done in pytest-dev#3110) to make this work with xdist. It appears to make sense to split it into hooks that are run per test (for eventually writing if past edge), and one that gets run at the end really (not requiring to check for "last item" then).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
topic: reporting
related to terminal output and user-facing messages and errors
type: bug
problem that needs to be addressed
Progress of Test Suite shows more than 100% if Teardown fails:
test.py:
System:
The text was updated successfully, but these errors were encountered: