Add failed tests to table summary
renkam opened this issue · 2 comments
If I understand correctly tparse display only passed tests in a table and to see failed tests I would need to scroll through output.
I would like to see failed tests in a table (preferably on bottom when running in console and on top when running in a CI).
It should display failed (or panic) tests by default. No matter which flag fails should always be displayed.
Are you seeing a case where tests are failing but tparse
is reporting them as passed ? If so, which Go version and is there a public repro by any chance?
If you have the raw output of the test with -json I can add a test case for it.
Here is what the failed portion would look like:
I am aware that failed tests are displayed in output. The problem is when tests are producing a lot of output (like hundreds of lines). Then output from tests is mixed with status of the test and looking for line with test status is very frustrating.
What I like to do when some test cases fails is to retry them with -v
and -failfast
flags. Finding failing tests would be much easier if those ar listed in table.