User manual

camel test agent run

Runs tests on the agent server

This command is provided by the test plugin. Install it with camel plugin add test.

Usage

camel test agent run [options]

Options

Option Description Default Type

--async

Should the test engine print verbose test summary information.

boolean

--background

When enabled the command is not blocking for the test result response.

boolean

--dep

Set of additional Maven dependencies that should be loaded with the agent.

String[]

--engine

Name of the test engine that is used ti run tests. One of junit, junit-jupiter, junit4, testng, cucumber

String

--includes

Includes test name pattern.

String[]

--modules

Comma delimited list of additional Citrus modules that should be loaded with the agent.

String

--packages

Test package name to include in the test run.

String[]

--polling-interval

Interval used to poll for test results. Only used in asynchronous test execution mode.

2000

String

--port

Server port to connect to.

String

--property

Default System property to set before the test run.

String[]

--reset

Should the test engine reset the suite state for each run.

true

String

--test-jar

Path to a Java archive that holds tests to run.

String

--timeout

Http request timeout.

60000

String

--url

Server endpoint URL to connect to.

String

--verbose

Should the test engine print verbose test summary information.

true

String

--work-directory

The working directory used by the file based test engines to load file resources from.

String

-h,--help

Display the help and sub-commands

boolean