TestNG @AfterSuite failures are ignored
---------------------------------------

                 Key: SUREFIRE-376
                 URL: http://jira.codehaus.org/browse/SUREFIRE-376
             Project: Maven Surefire
          Issue Type: Bug
            Reporter: Dan Fabulich
         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

        

Reply via email to