./pants test [args]
Run tests sequentially in an interactive process. This is necessary, for example, when you add breakpoints to your code.
Force the tests to run, even if they could be satisfied from cache.
all, failed, none
Show stdout/stderr for these tests.
Generate a coverage report if the test runner supports it.
If a coverage report file is generated, open it on the local system if the system supports this.
Additional environment variables to include in test processes. Entries are strings in the form
ENV_VAR=value to use explicitly; or just
ENV_VAR to copy the value of a variable in Pants's own environment.
Write test reports to --report-dir.
Path to write test reports to. Must be relative to the build root.
Deprecated, is scheduled to be removed in version: 2.13.0.dev0.
Set the `report` option in [test] scope to emit reports to a standard location under dist/. Set the `report-dir` option to customize that location.
Specifying a directory causes Junit XML result files to be emitted under that dir for each test run that supports producing them.
Updated 9 months ago