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/20 23:57:57 UTC
[jira] Created: (SUREFIRE-379) When an exception occurs in
@BeforeMethod, the exception is not recorded.
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
[jira] Closed: (SUREFIRE-379) When an exception occurs in
@BeforeMethod, the exception is not recorded.
Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Fabulich closed SUREFIRE-379.
---------------------------------
Resolution: Fixed
fixed in revision 597234
> 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
> Priority: Critical
> Fix For: 2.4
>
> 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
[jira] Updated: (SUREFIRE-379) When an exception occurs in
@BeforeMethod, the exception is not recorded.
Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Fabulich updated SUREFIRE-379:
----------------------------------
Priority: Critical (was: Major)
> 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
> Priority: Critical
> Fix For: 2.4
>
> 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
[jira] Commented: (SUREFIRE-379) When an exception occurs in
@BeforeMethod, the exception is not recorded.
Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Updated: (SUREFIRE-379) When an exception occurs in
@BeforeMethod, the exception is not recorded.
Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Fabulich updated SUREFIRE-379:
----------------------------------
Fix Version/s: 2.4
> 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
> Fix For: 2.4
>
> 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
[jira] Updated: (SUREFIRE-379) When an exception occurs in
@BeforeMethod, the exception is not recorded.
Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/SUREFIRE-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Fabulich updated SUREFIRE-379:
----------------------------------
One good way to handle this might be to fix SUREFIRE-384 and let the reports consume TestNG's native XML output.
> 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
> Fix For: 2.4
>
> 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