Files
allwpilib/wpilibj/wpilibJavaIntegrationTests
Thomas Clark 6d89974016 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
2014-08-15 16:40:56 -04:00
..
2014-08-15 16:40:56 -04:00

TO LOAD & RUN INTEGRATION TESTS

  1. Run mvn clean package from this directory
  2. Run scp target/wpilibJavaIntegrationTests-0.1.0-SNAPSHOT.jar admin@10.1.90.2:/home/admin and enter the password on the RoboRio
  3. ssh into the RoboRio using ssh admin@10.1.90.2
  4. Run the integration tests on the roborio using ./runintegrationjavaprogram
  5. Enable the robot using a driver station (this will be automatic eventually)