-
Notifications
You must be signed in to change notification settings - Fork 6
Testing
weisenje edited this page Jan 11, 2018
·
4 revisions
$ mvn test
- Start Virtuoso if needed. By default, the tests look for Virtuoso at localhost:2420.
- Start SemTK services as specified in the "Make and Start Services" section of Installing (be sure to use
./startServices.sh
) - Configure integration tests if needed:
sparqlGraphLibrary/src/test/resources/integrationtest.properties
$ mvn failsafe:integration-test
Follow prerequisites above for integration tests, and then run
$ ./runTests.sh
Here is sample output:
williams@vesuvius37 -bash semtk-ge> ./runTests.sh
Writing full test output to /home/williams /projects/semtk-ge/runTests-20180111T110050.log
Running unit tests in /home/williams/projects/semtk-ge...
Running integration tests in /home/williams/projects/semtk-ge...
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0
Tests run: 80, Failures: 0, Errors: 0, Skipped: 0