Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23539

Initialize TestNgResult from testng result xml tag

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • testng-plugin
    • None

      It would be very good for tests with many test results to initialize the values for total, pass, failed and skip from the testng result tag.
      For example to show the following testng-result.xml with from a job with many testcases, without writing a test result for each testmethod.

      <?xml version="1.0" encoding="UTF-8"?>
      <testng-results skipped="0" failed="0" total="245600" passed="245600"/>

          [JENKINS-23539] Initialize TestNgResult from testng result xml tag

          Nalin Makar added a comment -

          Peter, we don't save any data for testng plugin other than the testng-results.xml files generated in the builds. To be able to display testng results in Jenkins, we need to parse the complete XML.

          Nalin Makar added a comment - Peter, we don't save any data for testng plugin other than the testng-results.xml files generated in the builds. To be able to display testng results in Jenkins, we need to parse the complete XML.

            Unassigned Unassigned
            pfouquet Peter Fouquet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: