-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Scenario
We are having a scenario where in we want to run failing tests again in same build execution & publish consolidated testNg-result file along with pre rerun testng-result file , so that end user can know that what was the status before re run and what is now after re run
Approach
we have devised a solution to support this using 'testng-failed.xml' . At the end we are combining both 'testng-results.xml' (1st 'testng-results.xml' gets generated in normal execution & 2nd gets generated for retried (failed cases) execution) to generate consolidated-testng-results.xml file .
I am able to publish this consolidated-testng-results.xml file properly (see below)
Problem
Now I want to publish consolidated-testng-results.xml along with first testng-results.xml(normal execution results before rerun) on build page . How to do that ?
PS : I have tried using regular expression to publish multiple testng results files (as below) . However it publish combined results of all testng-result reports .
I want both reports in separate blocks , so that end user can know that what was the status before re run and what is now after re run
[JENKINS-46387] testNg plugin - publishing multiple reports separately on build page
Attachment | New: image-2017-08-23-18-46-12-127.png [ 39386 ] |
Description |
Original:
Scenario We are having a scenario where in we want to run failing tests again in same build execution & publish consolidated test results on jenkins with pre failure ones . we have devised a solution to support this using 'testng-failed.xml' . At the end we are combining both 'testng-results.xml' (1st 'testng-results.xml' gets generated in normal execution & 2nd gets generated for retried (failed cases) execution) to generate consolidated-testng-results.xml file . I am able to publish this consolidated-testng-results.xml file properly !image-2017-08-23-18-37-15-980.png! *Problem* Now I want to publish consolidated-testng-results.xml along with first testng-results.xml(normal execution results) on build page . How to do that ? PS : I have tried using regular expression to publish multiple testng results files (as below) . However it publish combined results of all testng reports . !image-2017-08-23-18-39-05-688.png! I want both reports in separate blocks , so that end user can know that what was the status before re run and what is now after re run |
New:
*Scenario* We are having a scenario where in we want to run failing tests again in same build execution & publish consolidated testNg-result file along with pre rerun testng-result file , +so that end user can know that what was the status before re run and what is now after re run+ *Approach* we have devised a solution to support this using 'testng-failed.xml' . At the end we are combining both 'testng-results.xml' (1st 'testng-results.xml' gets generated in normal execution & 2nd gets generated for retried (failed cases) execution) to generate consolidated-testng-results.xml file . I am able to publish this consolidated-testng-results.xml file properly (see below) !image-2017-08-23-18-37-15-980.png|width=515,height=172! *Problem* Now I want to publish consolidated-testng-results.xml along with first testng-results.xml(normal execution results before rerun) on build page . How to do that ? PS : I have tried using regular expression to publish multiple testng results files (as below) . However it publish combined results of all testng-result reports . !image-2017-08-23-18-46-12-127.png|width=560,height=233! I want both reports in separate blocks , so that end user can know that what was the status before re run and what is now after re run |
Attachment | Original: image-2017-08-23-18-39-05-688.png [ 39384 ] |
Summary | Original: Publishing multiple reports separately in jenkins' testNg plugin | New: testNg plugin - publishing multiple reports separately on build page |
Assignee | Original: Nalin Makar [ nullin ] |