Call parameters for execution on the build server

Once you are ready to execute your tests, call up ToscaCIClient.exe with the help of call parameters, using the command line.

If you have set up Tosca Continuous Integration for execution on the build server, use the following call parameters:

Call parameter

Description

Optional

-m local

Specifies that the tests should be executed on the build server.

 

-c

Use this parameter to specify the path of the .xml file that defines which ExecutionLists should be executed in this test run.

Example: -c “c:/temp/CITestExecutionConfiguration.xml”

X

-r

Specifies where the test results will be stored. You need to have write access to the specified directory.

This call parameter overrides the setting PathToResultFile in the ToscaCIClient.exe.config.

Example: -r “c:/temp/result.xml”

X

-x

If the value of the parameter is set to True, the system uses a specific ExitCode to exit the Tosca CI Client in this particular test run.

This call parameter overrides the setting ConsiderExecutionResult in the ToscaCIClient.exe.config.

Example: -x True

X

-t

Specifies the structure of test results.

This call parameter overrides the setting ResultType in the ToscaCIClient.exe.config.

Example: -t junit

X

Example

The command line below calls up the ToscaCIClient.exe with the following information:

  • The tests should be executed on the build server.

  • The system should only execute the ExecutionLists with the properties defined in the file CITestExecutionConfiguration.xml, located at c:/temp/.

ToscaCIClient.exe -m local -c “c:/temp/CITestExecutionConfiguration.xml”