Where are consolidated TestNG reports present for publishing to CI after re-running failed cases?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Where are consolidated TestNG reports present for publishing to CI after re-running failed cases?

Rajdeep Biswas

target/surefire-reports/TEST*.xml, and

target/surefire-reports/junitreports/TEST*.xml

Above files only have the re-run tests from testng-failed.xml. But I need complete test results to be published in Jenkins, the successful cases and failed cases, all.

Need a solution that does not needs code changes like implementing listeners etc.


Original Q. http://stackoverflow.com/questions/43388187/where-are-consolidated-testng-reports-present-for-publishing-to-ci


Thanks

Raj

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Where are consolidated TestNG reports present for publishing to CI after re-running failed cases?

SUBRAMANYESWARA RAO BHAVIRISETTY
Hi Raj,

I guess the feature you are asking for is available in maven by default for JUnit. 

http://maven.apache.org/surefire/maven-surefire-plugin/examples/rerun-failing-tests.html

Assuming that you are using testng, I guess it would be better to use listeners as documented at http://stackoverflow.com/questions/13131912/testng-retrying-failed-tests-doesnt-output-the-correct-test-results/29127322#29127322?

Subramanyam

On Thu, Apr 13, 2017 at 2:54 AM, Rajdeep Biswas <[hidden email]> wrote:

target/surefire-reports/TEST*.xml, and

target/surefire-reports/junitreports/TEST*.xml

Above files only have the re-run tests from testng-failed.xml. But I need complete test results to be published in Jenkins, the successful cases and failed cases, all.

Need a solution that does not needs code changes like implementing listeners etc.


Original Q. http://stackoverflow.com/questions/43388187/where-are-consolidated-testng-reports-present-for-publishing-to-ci


Thanks

Raj

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.



--
Subramanyam

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Where are consolidated TestNG reports present for publishing to CI after re-running failed cases?

Rajdeep Biswas
Thank you for the info, Subramanyam.



On Fri, Apr 14, 2017 at 12:21 AM, SUBRAMANYESWARA RAO BHAVIRISETTY <[hidden email]> wrote:
Hi Raj,

I guess the feature you are asking for is available in maven by default for JUnit. 

http://maven.apache.org/surefire/maven-surefire-plugin/examples/rerun-failing-tests.html

Assuming that you are using testng, I guess it would be better to use listeners as documented at http://stackoverflow.com/questions/13131912/testng-retrying-failed-tests-doesnt-output-the-correct-test-results/29127322#29127322?

Subramanyam

On Thu, Apr 13, 2017 at 2:54 AM, Rajdeep Biswas <[hidden email]> wrote:

target/surefire-reports/TEST*.xml, and

target/surefire-reports/junitreports/TEST*.xml

Above files only have the re-run tests from testng-failed.xml. But I need complete test results to be published in Jenkins, the successful cases and failed cases, all.

Need a solution that does not needs code changes like implementing listeners etc.


Original Q. http://stackoverflow.com/questions/43388187/where-are-consolidated-testng-reports-present-for-publishing-to-ci


Thanks

Raj

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.



--
Subramanyam

--
You received this message because you are subscribed to a topic in the Google Groups "testng-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/testng-users/SQ8q5pwx-n4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Loading...