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
Print a list of failed tests at the end of test summary #5200
Comments
Since we are in Feature Freeze this week, moving this to the next sprint. |
This will improve the readability when running multiple tests inside a CI job without the need to run a second command or grep to find failed tests. This is related to: avocado-framework#5200 Signed-off-by: Beraldo Leal <bleal@redhat.com>
Hi @eskultety let me know what you think of #5249 for this feature. |
This will improve the readability when running multiple tests inside a CI job without the need to run a second command or grep to find failed tests. This is related to: avocado-framework#5200 Signed-off-by: Beraldo Leal <bleal@redhat.com>
This will introduce the new configuration option 'job.output.testlogs.summary_statuses' that will improve the readability when running multiple tests inside a CI job without the need to run a second command or grep to find failed tests. This is related to: avocado-framework#5200 Signed-off-by: Beraldo Leal <bleal@redhat.com>
This will introduce the new configuration option 'job.output.testlogs.summary_statuses' that will improve the readability when running multiple tests inside a CI job without the need to run a second command or grep to find failed tests. This is related to: avocado-framework#5200 Signed-off-by: Beraldo Leal <bleal@redhat.com>
Hi there, I would like to help with this issue, The avocado project is very overwhelming for me and I would love to help in any way possible. Can someone guide me? |
Hi @ozer550, thank you for your interest in Avocado and welcome to the Avocado community. I think this issue is already solved by @beraldoleal in #5249. But you can pick some of our low-hanging-fruit which are good for new contributors to get familiar with Avocado. Also, please read our Contributor’s Guide to get more information about contribution to Avocado project. If you need any help, don't hesitated to ask on our communication channels. |
This will introduce the new configuration option 'job.output.testlogs.summary_statuses' that will improve the readability when running multiple tests inside a CI job without the need to run a second command or grep to find failed tests. This is related to: avocado-framework#5200 Signed-off-by: Beraldo Leal <bleal@redhat.com>
This will introduce the new configuration option 'job.output.testlogs.summary_statuses' that will improve the readability when running multiple tests inside a CI job without the need to run a second command or grep to find failed tests. This is related to: avocado-framework#5200 Signed-off-by: Beraldo Leal <bleal@redhat.com>
This will introduce the new configuration option 'job.output.testlogs.summary_statuses' that will improve the readability when running multiple tests inside a CI job without the need to run a second command or grep to find failed tests. This is related to: avocado-framework#5200 Signed-off-by: Beraldo Leal <bleal@redhat.com>
Is your feature request related to a problem? Please describe.
Consider the following execution
From an output like ^this it is very simple to tell which tests passed and which failed, but do it for hundreds of tests and then one has to take scrollback and look for a needle in the haystack to find which tests have failed.
Describe the solution you'd like
Since failed tests is all everyone cares about when looking at the results, it would be both very convenient and fast to just look at a summary which might look like this:
Describe alternatives you've considered
Avocado will tell me what the logfile for a given failed tests contained which can be very verbose as the developer is primarily interested in the list of failed tests so that they can go and investigate on their own not mentioning the fact the the log files may not contain all the necessary data for an analysis.
This could be a somewhat satisfactory workaround, but you have to run 2 commands (run, jobs) which will produce 2 summaries with the latter being slightly confusing (naturally because of using grep):
I think we can definitely do better (by just using a single command) and just place the list of failed test at the end of the existing job summary.
The text was updated successfully, but these errors were encountered: