[ https://jira.codehaus.org/browse/SUREFIRE-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=334698#comment-334698 ]
Andreas Gudian commented on SUREFIRE-560: ----------------------------------------- Doesn't Eclipse skip the ignored tests as well? Anyway, your use case is more something for @Category - which can be applied to test classes and/or test methods. > tests with @Ignore are treated as "unsuccessful" > ------------------------------------------------ > > Key: SUREFIRE-560 > URL: https://jira.codehaus.org/browse/SUREFIRE-560 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Report Plugin > Affects Versions: 2.4.3 > Reporter: Jörg Hohwiller > Assignee: Kristian Rosenvold > Fix For: 2.7.2 > > > 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, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira