You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2018/03/02 21:52:00 UTC
[jira] [Updated] (SUREFIRE-1486) maven-failsafe-plugin does not use
JUnit adapter for JUnit4 annotations and TestNG providers do not have
maven-surefire-plugin config in POM
[ https://issues.apache.org/jira/browse/SUREFIRE-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Digana updated SUREFIRE-1486:
-----------------------------------
Summary: maven-failsafe-plugin does not use JUnit adapter for JUnit4 annotations and TestNG providers do not have maven-surefire-plugin config in POM (was: maven-failsafe-plugin does not use JUnit adapter for JUnit4 annotations)
> maven-failsafe-plugin does not use JUnit adapter for JUnit4 annotations and TestNG providers do not have maven-surefire-plugin config in POM
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SUREFIRE-1486
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1486
> Project: Maven Surefire
> Issue Type: Task
> Reporter: Tibor Digana
> Priority: Major
> Fix For: 2.21.0
>
>
> The unit tests of {{maven-failsafe-plugin}} pass successfully in IDEA if you run them locally.
> The Maven build does not have a chance. Therefore use JUnit3 adapter to call them on JUnit4 library. The tests use annotations and cannot be run in JUnit3 runner. Therefore we use adapter elsewhere called {{JUnit4SuiteTest.java}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)