[
http://jira.codehaus.org/browse/SUREFIRE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Fabulich updated SUREFIRE-376:
----------------------------------
Component/s: TestNG support
> TestNG @AfterSuite failures are ignored
> ---------------------------------------
>
> Key: SUREFIRE-376
> URL: http://jira.codehaus.org/browse/SUREFIRE-376
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Reporter: Dan Fabulich
> Fix For: 2.4
>
> Attachments: testng-afterSuiteFailure.zip
>
>
> Run the attached test, which includes a TestNG test like this:
> public class TestNGSuiteTest {
> @Test public void doNothing() {}
> @AfterSuite public void failAfterSuite() { Assert.fail(); }
> }
> When you run "mvn test", the test will pass, but it should fail.
--
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