-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Platform: All, OS: All
If you have multiple Junit tests with the same name, for example, if you run the
same tests on multiple platforms, then links to the results of those tests are
not correct.
To recreate, you can do the following:
Take the xml output of a junit test, and copy it to two directories in a hudson
build for processing. For example: tests/windows/myjunittest.xml and
tests/linux/myjunittest.xml
Change the value of <system-err> to something so there is a difference in the
tests. for example <system-err>This is the linux test</system-err>
After the build and junit results processing, Hudson will say that 2 tests were
run. But, if you click on the results for both tests, both will be exactly the
same. The URLs to the test results are both equal, so it appears there is no
way for Hudson to differentiate if the user wants to see the results of the
first or second test.
- duplicates
-
JENKINS-2988 Incorrect display of test results when using public static Test suite()
- Closed
- is duplicated by
-
JENKINS-2310 JUnit Details view is broken if results contains duplicate test names
- Closed
- relates to
-
JENKINS-41031 in Junit reports wrong output is shown for tests with same name
- Closed