JUnit XML CI View: Display Last Instance Test Failed
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
Currently, it is very inefficient to find out which job first introduced an existing failing test.
Intended users
Further details
This issue will build upon the effort of https://gitlab.com/gitlab-org/gitlab-ee/issues/24792
Proposal
For Test suite detail view show git bisect data for failed tests.
Meaning that we show how many commits it has been since this test has last succeeded? Then point to the last successful commit and first failure commit. This then includes a link that immediately shows the compare view between those commits potentially highlighting the problematic code introduced.
Additional original info
When a test fails we show the first job this test failed at (without a success following it) and a direct link to that job. This will help users see which commit might be responsible for the failed unit test. Some of the interest for this feature has been discussed in the comment section here: https://gitlab.com/gitlab-org/gitlab-ce/issues/17081. It doesn't show the full build history for each test (although we should consider how we could iterate to this in the future if needed) but the immediate need to see when the test started to fail is important.Permissions and Security
Documentation
Testing
What does success look like, and how can we measure that?
What is the type of buyer?
Links / references
Edited by 🤖 GitLab Bot 🤖