Command Line Options¶
Tip
Many command-line options can be configured as defaults in tanu.toml under the [runner] section. See the Configuration page for details. Command-line flags always override configuration file settings.
test¶
Run tests with tanu.
Options¶
--capture-http[=MODE]Capture HTTP debug logs. Acceptsall,on-failure(default), oroff. Bare--capture-httpis equivalent to--capture-http=all. Use--capture-http=offto suppress HTTP logs entirely. Can also be set intanu.tomlasrunner.capture_http = "all","on-failure", or"off"(andtrueas a backward-compatible alias for"all").--show-sensitiveShow sensitive data (API keys, tokens) in HTTP logs instead of masking them. By default, sensitive query parameters (api_key, access_token, token, secret, password) and headers (authorization, x-api-key, cookie) are masked with*****for security. Use this flag to display actual values during debugging. Can also be set intanu.tomlasrunner.show_sensitive = true.--capture-rustCapture Rust "log" crate based logs. This is usefull in the following two cases 1) tanu failed unexpectedly and you would want to see the tanu's internal logs. 2) you would want to see logs produced from your tests that uses "log" crate. Can also be set intanu.tomlasrunner.capture_rust = true.-p, --projects <PROJECTS>Run only the specified projects. This option can be specified multiple times e.g. --projects dev --projects staging-m, --modules <MODULES>Run only the specified modules. This option can be specified multiple times e.g. --modules foo --modules bar-t, --tests <TESTS>Run only the specified test cases. This option can be specified multiple times e.g. --tests a ---tests b--reporter <REPORTER>Specify the reporter to use. Default is "table". Possible values are "table", "list" and "null"-c, --concurrency <NUMBER>Specify the maximum number of tests to run in parallel. When unspecified, all tests run in parallel. Can also be set intanu.tomlasrunner.concurrency = 4.--fail-fastAbort test execution after the first failure. Remaining tests are skipped and reported as skipped in the summary. Can also be set intanu.tomlasrunner.fail_fast = true.--color <WHEN>Control when colored output is used. Possible values are "auto" (default), "always", or "never". Environment variableCARGO_TERM_COLORis also respected.
tui¶
Launch the TUI (Text User Interface) for tanu.
Options¶
--log-level <LOG_LEVEL>[default: Info]--tanu-log-level <TANU_LOG_LEVEL>[default: Info]-c, --concurrency <NUMBER>Specify the maximum number of tests to run in parallel. Default is the number of logical CPU cores. Can also be set intanu.tomlasrunner.concurrency = 4.
ls¶
List test cases.
help¶
Print this message or the help of the given subcommand(s).
Options¶
-h, --helpPrint help.-V, --versionPrint version.