jenkinsci / jenkinsci/junit-plugin
[JENKINS-31926] Jenkins doesn't display graph for test suites, before all tests successfully pass
- Dominant language
- Java
- Stars
- 87
- Forks
- 351
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 2
Description
When creating a new test suite, and the tests suite has always failed to pass, jenkins doesn't show a graph for the tests.
Only when all the tests in the suite passed for the first time, a graph is displayed.
The correct behavior, if I have 100 tests and 1 fails to pass, to display a graph with 99 "green" tests and one "red" test
---
Originally reported by speller, imported from: Jenkins doesn't display graph for test suites, before all tests successfully pass
Raw content of original issue
When creating a new test suite, and the tests suite has always failed to pass, jenkins doesn't show a graph for the tests.
Only when all the tests in the suite passed for the first time, a graph is displayed.
The correct behavior, if I have 100 tests and 1 fails to pass, to display a graph with 99 "green" tests and one "red" test
Contributor guide
Research direction
Start by reproducing the issue with a new test suite containing 100 tests where one fails, then trace how the junit-plugin handles test results before any fully passing run. Done means Jenkins displays the suite graph with passing and failing tests even when no prior run passed completely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100