You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
752 B
23 lines
752 B
4 months ago
|
To run all instrumentation tests:
|
||
|
$ runtest managed-provisioning
|
||
|
|
||
|
To run all instrumentation tests in a specific class:
|
||
|
$ runtest --path src/com/android/managedprovisioning/<class>.java
|
||
|
|
||
|
To run a specific instrumentation test:
|
||
|
$ runtest -c com.android.managedprovisioning.<class> -m <method> managed-provisioning
|
||
|
|
||
|
To obtain a test coverage report for instrumentation tests:
|
||
|
$ packages/apps/ManagedProvisioning/tools/bash/coverage.sh
|
||
|
|
||
|
More general information can be found at "runtest -h" and
|
||
|
http://developer.android.com/reference/android/test/InstrumentationTestRunner.html
|
||
|
|
||
|
To run all robolectric tests:
|
||
|
make RunManagedProvisioningRoboTests
|
||
|
|
||
|
To run a specific robolectric class:
|
||
|
make RunManagedProvisioningRoboTests ROBOLECTRIC_FILTER=<class name>
|
||
|
|
||
|
|