Commit 767611af by Harish Butani

configure surefire to run both testng and junit tests

parent 3d9862e9
...@@ -52,6 +52,15 @@ ...@@ -52,6 +52,15 @@
<version>0.13.1</version> <version>0.13.1</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
......
...@@ -910,6 +910,18 @@ ...@@ -910,6 +910,18 @@
<skipTests>true</skipTests> <skipTests>true</skipTests>
</configuration> </configuration>
--> -->
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit4</artifactId>
<version>2.7.2</version>
</dependency>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-testng</artifactId>
<version>2.7.2</version>
</dependency>
</dependencies>
</plugin> </plugin>
<plugin> <plugin>
......
...@@ -141,6 +141,11 @@ ...@@ -141,6 +141,11 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId> <artifactId>mockito-all</artifactId>
</dependency> </dependency>
......
...@@ -143,6 +143,11 @@ ...@@ -143,6 +143,11 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
</dependency> </dependency>
......
...@@ -101,6 +101,11 @@ ...@@ -101,6 +101,11 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
</dependency> </dependency>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment