-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins ver. 1.514
The nested testsuites do not seem to be displayed correctly by Jenkins.
Here is my JUnit test report:
<?xml version="1.0" encoding="utf-8"?> <testsuites name="My Testsuites"> <testsuite name="TestSuite A"> <testsuite name="Nested TestSuite 1"> <testcase name="TestCase 1" time="0" /> <testcase name="TestCase 2" time="0" /> </testsuite> <testsuite name="Nested TestSuite 2"> <testcase name="TestCase 3" time="0" /> <testcase name="TestCase 4" time="0" /> </testsuite> </testsuite> <testsuite name="TestSuite B"> <testsuite name="Nested TestSuite 3"> <testcase name="TestCase 5" time="0" /> <testcase name="TestCase 6" time="0" /> </testsuite> <testsuite name="Nested TestSuite 4"> <testcase name="TestCase 7" time="0" /> <testcase name="TestCase 8" time="0" /> </testsuite> </testsuite> </testsuites>
From the attached screenshot, we can clearly see Jenkins does not support the first level <testsuite>.
My "TestSuite A" and "TestSuite B" are not displayed. And all my "Nested TestSuite N" are attached to the root <testuites>.
From this fixed bug: https://issues.jenkins-ci.org/browse/JENKINS-6545, it looks Jenkins is expected to support nested testsuites.