Integration tests now run with the Ant Junit test framework.

Removes TestNG as it wasn't reporting all of the tests correctly. Adds Ant as a dependency and uses it to run the JUnit tests so that tests are output in a way that Jenkins understands.

Change-Id: Ie98358476cebe94f233e687195a0fced8723a878
This commit is contained in:
Jonathan Leitschuh
2014-08-21 15:29:17 -04:00
parent 698b371b16
commit f9ab84d912
4 changed files with 154 additions and 27 deletions

View File

@@ -35,14 +35,14 @@
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.8.8</version>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.9.4</version>
</dependency>
<dependency>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
<version>1.35</version>
<groupId>org.apache.ant</groupId>
<artifactId>ant-junit</artifactId>
<version>1.9.4</version>
</dependency>
</dependencies>
@@ -131,15 +131,15 @@
<type>jar</type>
</artifactItem>
<artifactItem>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.8.8</version>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.9.4</version>
<type>jar</type>
</artifactItem>
<artifactItem>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
<version>1.35</version>
<groupId>org.apache.ant</groupId>
<artifactId>ant-junit</artifactId>
<version>1.9.4</version>
<type>jar</type>
</artifactItem>
</artifactItems>
@@ -170,7 +170,7 @@
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>org.testng.TestNG</mainClass>
<mainClass>edu.wpi.first.wpilibj.test.AntJunitLanucher</mainClass>
</manifest>
</archive>
</configuration>