force test
Run apex tests
Synopsis
Run apex tests
Examples:
force test all
force test Test1 Test2 Test3
force test Test1.method1 Test1.method2
force test -namespace=ns Test4
force test -class=Test1 method1 method2
force test -v Test1
force test --integration MyIntegrationTestforce test (all | classname... | classname.method...) [flags]Options
-c, --class string class to run tests from
-h, --help help for test
--integration run an @IntegrationTest class asynchronously via the Tooling API
-n, --namespace string namespace to run tests in
-f, --reporttype string report type format (text or junit) (default "text")
-v, --verbose set verbose loggingOptions inherited from parent commands
-a, --account username account username to use
-V, --apiversion string API version to use
--config string config directory to use (default: .force)SEE ALSO
- force - force CLI