Skip to main content

Deployment Tests

iact3 test run is the core command. It creates real ROS stacks for every configured test and region, waits for the result, runs hooks, deletes stacks by default, and writes reports.

Basic run

iact3 test run

Iact3 reads .iact3.yml from the current directory and searches the same directory for a template if template_config is not set.

Run from another directory

iact3 test run --project-path ./demo

--project-path changes the project root used for the config file, template file, and output directory.

Use explicit config and template files

iact3 test run \
-t templates/ecs.template.yml \
-c iact3-config/ecs.iact3.yml

Restrict regions or tests

iact3 test run -r cn-hangzhou,cn-beijing --test-names default,small

-r overrides configured regions. --test-names runs only the named entries from the tests section.

Control deletion

By default, Iact3 deletes stacks after the test run.

iact3 test run --no-delete

Keeps all stacks after the run.

iact3 test run --keep-failed

Deletes successful stacks but keeps failed stacks for debugging.

iact3 test run --dont-wait-for-delete

Calls delete stack and exits without waiting for deletion to complete.

Generate parameters without creating stacks

iact3 test run --generate-parameters

This resolves pseudo parameters and prints the effective parameter set. It does not create stacks.

The shorter command is:

iact3 test params -c .iact3.yml -r cn-hangzhou

Report formats

iact3 test run --log-format json,xml

The HTML report and JSON summary are always generated. --log-format adds per-stack logs in the requested formats.

Common options

OptionMeaning
-t, --templatePath to a template file or template directory.
-c, --config-filePath to the Iact3 config file.
-o, --output-directoryOutput directory. Defaults to iact3_outputs.
-r, --regionsComma-separated regions.
--test-namesComma-separated test names.
--project-pathProject root.
--no-deleteKeep all stacks.
--keep-failedKeep failed stacks.
--dont-wait-for-deleteDo not wait for stack deletion.
-g, --generate-parametersPrint resolved parameters instead of testing.
-l, --log-formatComma-separated extra log formats: json, xml.