Invalid percentages of Test Suite progress #3088
Closed
Labels
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
added 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
Progress of Test Suite shows more than 100% if Teardown fails:
test.py:
System:
The text was updated successfully, but these errors were encountered: