From 6d899740165668fde063469628cea4145d23ee24 Mon Sep 17 00:00:00 2001 From: Thomas Clark Date: Fri, 15 Aug 2014 16:21:45 -0400 Subject: [PATCH] Make Java tests run with TestNG TestNG generates xml reports that Jenkins can use, JUnit does not without Ant or Maven. To run the tests, deploy the Jar and run: /usr/local/frc/JRE/bin/java -jar wpilibJavaIntegrationTests-0.1.0-SNAPSHOT.jar -junit -testclass edu.wpi.first.wpilibj.test.TestSuite Change-Id: I9e8a7dcab775f9c5ad1905afa798cd9191e25438 --- wpilibj/wpilibJavaIntegrationTests/pom.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/wpilibj/wpilibJavaIntegrationTests/pom.xml b/wpilibj/wpilibJavaIntegrationTests/pom.xml index 2718621ed4..f2bb1034d4 100644 --- a/wpilibj/wpilibJavaIntegrationTests/pom.xml +++ b/wpilibj/wpilibJavaIntegrationTests/pom.xml @@ -34,6 +34,11 @@ junit-toolbox 2.0 + + org.testng + testng + 6.8.8 + @@ -120,6 +125,12 @@ 2.0 jar + + org.testng + testng + 6.8.8 + jar + ${project.build.directory}/classes @@ -148,7 +159,7 @@ true - edu.wpi.first.wpilibj.test.TestSuite + org.testng.TestNG