maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Stepura (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1314) rerunFailingTestsCount doesn't work for errors in BeforeClass methods
Date Mon, 10 Apr 2017 22:56:41 GMT

    [ https://issues.apache.org/jira/browse/SUREFIRE-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15963622#comment-15963622
] 

Mikhail Stepura commented on SUREFIRE-1314:
-------------------------------------------

How can {{NoClassDefFoundError: Could not initialize class jiras.surefire1146.ErrorInBeforeClassTest}}
be a bug in {{ErrorInBeforeClassTest}} itself? The test has no control over its classpath.

> rerunFailingTestsCount doesn't work for errors in BeforeClass methods
> ---------------------------------------------------------------------
>
>                 Key: SUREFIRE-1314
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1314
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.x support
>    Affects Versions: 2.19.1
>            Reporter: Mikhail Stepura
>            Assignee: Tibor Digana
>
> We're using {{surefire.rerunFailingTestsCoun}} property for our integration tests, and
everything working fine when an error/failure happens in a test method (i.e. {{@Test}} ),
and those test methods are re-executed later, as expected.
> But if an error happens in a {{BeforeClass}} class method, then those test classes are
not re-executed. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message