[
http://jira.codehaus.org/browse/SUREFIRE-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kristian Rosenvold closed SUREFIRE-560.
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.7.2
Assignee: Kristian Rosenvold
I have verified for 2.7.2 that both @Ignore and assumption failures are
reported as "skipped" and not as error.
This issue was probably fixed around 2.6 or so, but marking fixed for 2.7.2
since I have verified it here.
> 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: 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 contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira