Replaying Tests from a Continuous Integration Server

To run Silk4J tests from a continuous integration (CI) server, a CI server needs to be configured. This topic uses Jenkins as an example.
  1. Add a new job to the CI server to compile the Silk4J tests. For additional information, refer to the documentation of the CI server.
  2. Add a new job to the CI server to execute the Silk4J tests.
  3. Replay the tests from the CI server by using an Apache Ant file. Running the tests with an Ant file creates JUnit results, while running the tests from the command line does not.
Whenever your CI job is executed, it also triggers the execution of the specified Silk4J tests. On Jenkins, the Ant output is displayed in the JUnit plug-in and the TrueLog file is saved.