You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Fabulich (JIRA)" <ji...@codehaus.org> on 2007/11/21 23:35:57 UTC

[jira] Closed: (SUREFIRE-376) TestNG @AfterSuite failures are ignored

     [ http://jira.codehaus.org/browse/SUREFIRE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Fabulich closed SUREFIRE-376.
---------------------------------

    Resolution: Fixed

fixed in revision 597234

> 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
>            Priority: Critical
>             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