User manual

camel test run

Run as local Citrus test

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

Usage

camel test run [options]

Options

Option Description Default Type

--dep,--dependency

Comma delimited list of additional Maven GAV dependencies that must be loaded to run the test.

List

--engine

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

String

--includes

Includes test name pattern.

List

--inspect-code

When enabled the source code gets analyzed for required modules and dependencies that are added to the classpath.

true

boolean

--logging

Can be used to turn off logging

true

boolean

--logging-color

Use colored logging

true

boolean

--logging-level

Logging level

info

String

--modules

Comma delimited list of additional Citrus modules that must be loaded to run the test.

String

--offline

When enabled there will be no attempts to resolve Maven artifacts via internet connection.

false

boolean

--property,--properties

Default System property to set before the test run.

List

--repository,--repositories

Set of Maven repositories that should be used to resolve dependencies.

List

--reset

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

true

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