[
http://jira.codehaus.org/browse/MSHITTY-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_123605
]
Brian Fox commented on MSHITTY-11:
----------------------------------
The ultimate solution is to ignore the error code from the invocation (which is
unreliable on windows) and provide a helper method like the verifier's
verifyErrorFreeLog to check if the build succeeded or not.
> Support expected failures in tests launched by the SHITTY plugin
> ----------------------------------------------------------------
>
> Key: MSHITTY-11
> URL: http://jira.codehaus.org/browse/MSHITTY-11
> Project: Maven 2.x SHITTY Plugin
> Issue Type: New Feature
> Affects Versions: 1.0-alpha-1
> Environment: Mac OS 10.4.11
> Java 10.5.0_13
> Maven 2.0.8
> Reporter: Rod Coffin
> Assignee: Jason Dillon
>
> I have written a test for a plugin using the SHITTY plugin that I expect to
> fail. This is because I am testing that my plugin correctly fails the build
> under certain situations. But I can't find a way to ask the SHITTY plugin to
> not fail the build for my plugin when the test build that I expect to fail
> does indeed fail. I have tried setting the 'ignoreFailures' option but then
> legitimate failures are ignored as well. I do verify the reason for the
> failure in the test build's validate.groovy script and I would like failures
> thrown from that script to fail the plugin's build.
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email