Rason for the Ignored/Skipped testcases is not reported
-------------------------------------------------------

                 Key: SUREFIRE-537
                 URL: http://jira.codehaus.org/browse/SUREFIRE-537
             Project: Maven Surefire
          Issue Type: Bug
          Components: Junit 4.x support, report plugin, xml generation
    Affects Versions: 2.4.3
         Environment: Windows XP, junit 4.4
            Reporter: Rakesh Arora


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() );
            }


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to