jenkinsci / jenkinsci/junit-plugin
[JENKINS-56623] Junit test showing twice
- Dominant language
- Java
- Stars
- 87
- Forks
- 351
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 2
Description
Still have this issue - Jenkins 2.162.1, JUnit plugin 1.27
Some of the tests appear twice, there is no difference between tests that appear once or twice..
These are not junit tests, but they create a test_results.xml in junit format.
it looks like only the last test in the group appear twice, or those that are "alone"
Pipeline code:
junit "/output/**/test_results.xml"
---
Originally reported by
liyatikal, imported from: Junit test showing twice
Raw content of original issue
Still have this issue - Jenkins 2.162.1, JUnit plugin 1.27
Some of the tests appear twice, there is no difference between tests that appear once or twice..
These are not junit tests, but they create a test_results.xml in junit format.
it looks like only the last test in the group appear twice, or those that are "alone"
Pipeline code:
junit "/output/**/test_results.xml"
1 attachment
- [Screen Shot 2019-03-19 at 19.07.53.png](https://issues.jenkins.io/secure/attachment/46519/Screen%20Shot%202019-03-19%20at%2019.07.53.png)
> 
Contributor guide
Research direction
Start by reproducing the issue with the Pipeline step `junit "/output/**/test_results.xml"` and a JUnit-format `test_results.xml` containing grouped and standalone tests. Trace how the plugin parses and displays the final or standalone test, then verify that each test appears exactly once.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100