Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Test Runner is packaged as an executable for windows, which required command line arguments to be ran. Below all the command line arguments are listed which can be used by the Test Runner A Runner. An example of the using the Test Runner would look like this.

...

When this configuration is used and the Test Runner is ran, the test results will we available at C:\model-mapper\target\testresults.xml, it also possible to create a config.json . Another way to execute the Test Runner is via configuration file, which can be used to pass in the command line arguments. An example of such configuration file would look like this.

Code Block
titleconfig.json
{
  "proxyServerUrl": "http://localhost:1337",
  "studioUsername": "username",
  "studioPassword": "password",
  "repository": "MyRepository",
  "branch": "Trunk",
  "project": "MyProject"
}

To use the configuration file config.json, execute the Test Runner with the following command can be executed.

Code Block
languagebash
titleExample
C:\model-mapper\cli-test-runner-win.exe --config=config.json

...