tree: e0256f3c66e95f5e96f0c9e2f6b167d96bb1b024 [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.md
reasoners/services-tests/README.md

Stanbol Reasoners Services Tests

The tests run automatically during the test phase, start the runnable jar of the kres launcher and test it over HTTP.

To create or debug tests you can also keep the launcher running and run individual tests against it, and use a specific HTTP port, as follows:

$ cd services-tests $ mvn -o clean install -DkeepJarRunning=true -Dhttp.port=8080

The launcher starts and keeps running until you press CTRL-C.

In a different console, you can now run individual tests:

$ mvn -o test -Dtest.server.url=http://localhost:8080 -Dtest=ReasonersConcurrencyTest

And add -Dmaven.surefire.debug to enable debugging of the tests.

Or do the same from your IDE, see the POM for system properties that the tests expect.

You can also run the tests in the same way against any other instance, of course.