test
./pants test [args]
Run tests.
Backend: pants.core
Config section: [test]
Basic options
False
Run tests sequentially in an interactive process. This is necessary, for example, when you add breakpoints to your code.
False
Force the tests to run, even if they could be satisfied from cache.
all, failed, none
default:
failed
Show stdout/stderr for these tests.
False
Generate a coverage report if the test runner supports it.
False
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.
Advanced options
None
Specifying a directory causes Junit XML result files to be emitted under that dir for each test run that supports producing them.
Deprecated options
None
Updated over 1 year ago