[ http://jira.codehaus.org/browse/SUREFIRE-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114373 ]
Dan Fabulich commented on SUREFIRE-379: --------------------------------------- Same appears to be true of @BeforeMethod and @BeforeSuite > When an exception occurs in @BeforeMethod, the exception is not recorded. > ------------------------------------------------------------------------- > > Key: SUREFIRE-379 > URL: http://jira.codehaus.org/browse/SUREFIRE-379 > Project: Maven Surefire > Issue Type: Bug > Components: TestNG support > Reporter: Dan Fabulich > Attachments: testng-beforeMethodFailure.zip > > > Run "mvn test" in the attached project. You'll get 1 skipped test. But why? > There's no record of the failure exception in the XML test output or in the > txt file or on the console. The diagnostic information is lost. -- 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