[ 
http://jira.codehaus.org/browse/SUREFIRE-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Fabulich updated SUREFIRE-303:
----------------------------------

    Fix Version/s:     (was: 2.x)
                   2.4

I've been fretting about how we should handle this in a standardizable way, but 
I think we can't release 2.4 without fixing this (for TestNG alone if nothing 
else).

When TestNG generates "JUnit" XML output, it looks like this:

<testsuite total="1" skipped="1">
  <testcase name="testIgnorable>
    <skipped message="reason"/>
  </testcase>
</testsuite>

Reporting tools that aren't aware of skippable tests will ignore the "skipped" 
attribute and the <skipped> element, and regard the test as having "passed," 
which is close enough, I guess.

I fear that the Ant team might decide to call these "ignored" and <ignored>.  
We should try to code defensively and accept both in surefire-report.

As for what we should output from Surefire... For now I guess we should follow 
TestNG's lead because they're the only reference implementation...?

> Ignored/Skipped tests are not reported
> --------------------------------------
>
>                 Key: SUREFIRE-303
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-303
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Junit 4.x support, report plugin, xml generation
>    Affects Versions: 2.3, 2.4
>            Reporter: Daniel Kulp
>             Fix For: 2.4
>
>
> Tests that are skipped with a @Ignore("Test doesn't work") annotation only 
> appear in the report as an increment in the "Skipped" column.    Neither the 
> names of the skipped tests nor the text/reason for the skip appear at all.

-- 
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