You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test session starts section is really nice in how it presents a running test suite's test outcomes: each test is shown in succession, is color-coded according to outcome, and the whole flow is easy to follow because you can follow along as individual tests get run, and either pass or fail, thereby triggering the plugin's rerun mechanism.
For example, it's easy to see in the following run:
that the first test passed without a rerun
the second test ran twice (1 rerun) but failed both times, leading to an overall failed test result
the third test ran three times (2 reruns) and eventually passed
the fourth test ran four times (3 reruns) and eventually failed
the fifth test ran three times (2 reruns) and eventually failed
the last test ran once and passed
However, the rerun_test_summary_info section (which is obtained by invoking command line option -raR) leaves a bit to be desired:
not color-coded
only states which tests required a rerun (regardless of final outcome) instead of giving a blow-by-blow account of each test as reruns occur
Is it possible to make the final section more like the first?
Here is my testcase for above screenshot. I ran the test session as: pytest -v -raR -k flaky
The
test session starts
section is really nice in how it presents a running test suite's test outcomes: each test is shown in succession, is color-coded according to outcome, and the whole flow is easy to follow because you can follow along as individual tests get run, and either pass or fail, thereby triggering the plugin's rerun mechanism.For example, it's easy to see in the following run:
However, the
rerun_test_summary_info
section (which is obtained by invoking command line option-raR
) leaves a bit to be desired:Is it possible to make the final section more like the first?
Here is my testcase for above screenshot. I ran the test session as:
pytest -v -raR -k flaky
The text was updated successfully, but these errors were encountered: