mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
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
TO LOAD & RUN INTEGRATION TESTS
- Run
mvn clean packagefrom this directory - Run
scp target/wpilibJavaIntegrationTests-0.1.0-SNAPSHOT.jar admin@10.1.90.2:/home/adminand enter the password on the RoboRio - ssh into the RoboRio using
ssh admin@10.1.90.2 - Run the integration tests on the roborio using
./runintegrationjavaprogram - Enable the robot using a driver station (this will be automatic eventually)