newt test¶
Execute unit tests for one or more packages.
Usage:¶
newt test <package-name> [package-names...] | all [flags]
Flags:¶
-e, --exclude string Comma separated list of packages to exclude
Global Flags:¶
-h, --help Help for newt commands
-j, --jobs int Number of concurrent build jobs (default 8)
-l, --loglevel string Log level (default "WARN")
-o, --outfile string Filename to tee output to
-q, --quiet Be quiet; only display error output
-s, --silent Be silent; don't output anything
-v, --verbose Enable verbose output when executing commands
Description¶
Executes unit tests for one or more packages. You specify a list of packages, separated by space, to test multiple packages in the same command, or specify all
to test all packages. When you use the all
option, you may use the -e
flag followed by a comma separated list of packages to exclude from the test.
Examples¶
Usage |
Explanation |
---|---|
|
Tests the |
|
Tests the |
|
Tests all packages. |
|
Tests all packages except for the |