test¶
Run charm tests in different back-ends.
This command will run charm test suites using the spread tool. The test command is EXPERIMENTAL and may be changed without prior notice. For further information, see the spread documentation: https://github.com/snapcore/spread
Usage¶
charmcraft test [options] <tasks>
Required¶
tasksSpread tasks to run, in backend:system:suite/task:variant format. All fields are optional.
Options¶
--debugShell into the environment if the build fails.
--listJust show the list of jobs that would run.
--shellShell into the environment in lieu of the step to run.
--shell-afterShell into the environment after the step has run.
Global options¶
-hor--helpShow this help message and exit.
-qor--quietOnly show warnings and errors, not progress.
-vor--verboseShow debug information and be more verbose.
--verbositySet the verbosity level to ‘quiet’, ‘brief’, ‘verbose’, ‘debug’ or ‘trace’.
-Vor--versionShow the application version and exit.