Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
2.4.3
-
None
-
None
-
Ubuntu Linux: Linux bcomp 2.6.31-11-generic #36-Ubuntu SMP Fri Sep 25 06:37:51 UTC 2009 i686 GNU/Linux
$ java -version
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) Server VM (build 14.1-b02, mixed mode)
$ mvn --version
Apache Maven 2.2.1 (r801777; 2009-08-06 23:16:01+0400)
Java version: 1.6.0_15
Java home: /usr/lib/jvm/java-6-sun-1.6.0.15/jre
Default locale: ru_RU, platform encoding: UTF-8
OS name: "linux" version: "2.6.31-11-generic" arch: "i386" Family: "unix"
Ubuntu Linux: Linux bcomp 2.6.31-11-generic #36-Ubuntu SMP Fri Sep 25 06:37:51 UTC 2009 i686 GNU/Linux $ java -version java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03) Java HotSpot(TM) Server VM (build 14.1-b02, mixed mode) $ mvn --version Apache Maven 2.2.1 (r801777; 2009-08-06 23:16:01+0400) Java version: 1.6.0_15 Java home: /usr/lib/jvm/java-6-sun-1.6.0.15/jre Default locale: ru_RU, platform encoding: UTF-8 OS name: "linux" version: "2.6.31-11-generic" arch: "i386" Family: "unix"
Description
I have a project with a lot of JUnit test. Recently I've added new
dependency wich have TestNG in it's dependencies. From that moment
Surefire plugins don't run JUnit test anymore. It seems to me that
Surefire tries to find TestNG tests but not find them and don't search
for JUnit tests. Is this behaviour correct and how can i fix this?
I have the following line in log:
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.117
sec
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
Example project in attachments.
Attachments
Attachments
Issue Links
- duplicates
-
SUREFIRE-377 When JUnit and TestNG tests are in same project, only one set gets run
- Closed