Running smoke tests

#1

I’m trying to figure out how to run the smoke tests in the smoke-test/ directory under https://github.com/OpenNMS/opennms/.

There’s a script in the directory, do-smoke-test.sh, but when I run it, no tests are run:

[INFO] Surefire report directory: /home/roskens/Documents/devjam2018.git/smoke-test/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
#2

There are few things that you need to do before running smoke tests. Build rpms and docker images, more information here https://github.com/OpenNMS/opennms-system-test-api

Then run tests by passing this system property org.opennms.smoketest.docker=true
mvn clean test -Dorg.opennms.smoketest.docker=true -Dtest=#SpecificTest#