tests with @Ignore are treated as "unsuccessful"
------------------------------------------------

                 Key: SUREFIRE-560
                 URL: http://jira.codehaus.org/browse/SUREFIRE-560
             Project: Maven Surefire
          Issue Type: Bug
          Components: report plugin
    Affects Versions: 2.4.3
            Reporter: Jörg Hohwiller


According to SUREFIRE-303 you care about @Ignore tests which is generally a 
good idea.
However you treat them as "unsuccessful" and then dashboard-maven-plugin marks 
this in red.

I am using @Ignore for JUnit test-methods that can NOT run headless or in a 
os-independent batch, or whatever.
Generally I think that this is what @Ignore is all about. If I have tests that 
do not work but definitely should, I would
NOT add an @Ignore and get an according failure until the bug is fixed.

So either provide a way to mark test-methods as skipped by maven but not 
treated unsuccessful, e.g.
via some prefix like "OK:" in @Ignore("OK: manual test") or by generally 
treating @Ignore
as harmless. I personally suggest the latter.

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