[ 
https://issues.apache.org/jira/browse/SUREFIRE-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tibor Digana updated SUREFIRE-1486:
-----------------------------------
    Description: 
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}}.
The projects {{surefire-testng}} and {{surefire-testng-utils}} do not have 
surefire configuration in POM like others.
The {{JUnit47SuiteTest.java}} has a duplicate test class.

  was:
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}}.


> 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
>            Assignee: 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}}.
> The projects {{surefire-testng}} and {{surefire-testng-utils}} do not have 
> surefire configuration in POM like others.
> The {{JUnit47SuiteTest.java}} has a duplicate test class.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to