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
When viewing the set of test results for a run, tests are displayed by sorting them alphabetically. Instead, I'd greatly prefer to keep this list ordered based upon the order in which the tests were executed. This should be the order in which the tests appear in the .xml test result file. That way, when viewing a failure in a particular test, it is trivial to identify the test that ran right before it.
If we still want to sort test results alphabetically, another way to make the ordering clear in the results is by displaying a link to the previous test when looking at the result for a test.
Upstream changes
No response
The text was updated successfully, but these errors were encountered:
I implemented changes in #494 that allow third party plugins to enhance the test results. In the discussion of #494 if you scroll down a bit you'll see a mock up screenshot of how the tests can be sorted chronologically if the results are enhanced with a custom Timestamp plugin. This allows different sorting strategies to be used in different situations.
I wouldn't recommend that your enhancement is implemented as default behavior. You can't assume that the .xml test result file always lists tests in execution order. For example, Maven's Surefire Plugin supports parallel execution of tests. Execution order is less relevant and less intuitive when that is used.
However, in many cases like yours it is probably perfectly reasonable and desirable to assume that the the tests are listed in execution order. So I would suggest a new plugin; it's pretty simple to write a plugin that enhances the test result tables with an Execution Order column that the table can be sorted by. For each job you would choose that plugin as an "Additional test report feature" in the JUnit Plugin configuration.
What feature do you want to see added?
When viewing the set of test results for a run, tests are displayed by sorting them alphabetically. Instead, I'd greatly prefer to keep this list ordered based upon the order in which the tests were executed. This should be the order in which the tests appear in the .xml test result file. That way, when viewing a failure in a particular test, it is trivial to identify the test that ran right before it.
If we still want to sort test results alphabetically, another way to make the ordering clear in the results is by displaying a link to the previous test when looking at the result for a test.
Upstream changes
No response
The text was updated successfully, but these errors were encountered: