• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1To run all instrumentation tests:
2$ runtest managed-provisioning
3
4To run all instrumentation tests in a specific class:
5$ runtest --path src/com/android/managedprovisioning/<class>.java
6
7To run a specific instrumentation test:
8$ runtest -c com.android.managedprovisioning.<class> -m <method> managed-provisioning
9
10To obtain a test coverage report for instrumentation tests:
11$ packages/apps/ManagedProvisioning/tools/bash/coverage.sh
12
13More general information can be found at "runtest -h" and
14http://developer.android.com/reference/android/test/InstrumentationTestRunner.html
15
16To run all robolectric tests:
17make RunManagedProvisioningRoboTests
18
19To run a specific robolectric class:
20make RunManagedProvisioningRoboTests ROBOLECTRIC_FILTER=<class name>
21
22
23