Skip to content

JUnit XML MR Widget: Link From Test Summary widget to failed Testfile

Problem to solve

As a developer reviewing an MR with failing tests, I want to be able to click a link to a file from the MR widget, so I can quickly resolve broken tests and get a green pipeline.

Intended users

User experience goal

The user should be able to use the MR UI to click through the widget to a failed test so they don't have to dig through the File Repository view.

Proposal

  • Add the filename to the modal used on the Test Summary Report (see below)
  • Make the filename a link to the test file in the repository (as was done for the Unit Test report]
    • Clicking should open a new window/tab to the file

Further details

This change will make the interfaces consistent in behavior so users with and without MRs can both quickly get from a failed test notice to the test file itself.

Documentation

None.

What does success look like, and how can we measure that?

We'd expect that this will increase engagement with the widget by 5% above normal growth within 90 days of launch as measured by the interaction with the MR widget.

What is the type of buyer?

The Developer cares most about this as it improves their own workflow.

Is this a cross-stage feature?

Yes with devopscreate as it's on the MR page.

Links / references

Initial proposal

Background

This JUnit XML epic &187 (closed) contains the priority of iterations for the MR widget and CI view.

Proposal

  • For each failed test display in the MR widget, we should allow users to hyperlink from the MR widget to the specific file/line in the JUnit testfile where the test failure occurred.

Edited by James Heimbuck