Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-537

Reason for the Ignored/Skipped testcases is not reported

    XMLWordPrintableJSON

    Details

      Description

      Tests that are skipped with a @Ignore("Test doesn't work") annotation only appear in the report as an increment in the "Skipped" column. Name of the skipped testcases is also reported. However, the reason (i.e. "Test doesn't work") is not reported.

      Quick look at the source code, it seems that it is not implemented:
      In class: org.apache.maven.plugins.surefire.report.TestSuiteXmlParser

                  else if ( "skipped".equals( qName ) )
                  {
                      testCase.addFailure( "skipped", "skipped" ); // TODO extract real reasons
                      currentSuite.setNumberOfSkipped( 1 + currentSuite.getNumberOfSkipped() );
                  }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                krosenvold Kristian Rosenvold
                Reporter:
                rakmoh Rakesh Arora
              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: