Skip to content

Espresso

bootstraponline edited this page Jul 19, 2015 · 4 revisions

Espresso

Run espresso from the command line.

List instrumentation

$ adb shell pm list instrumentation
instrumentation:<test_package_name>/<runner_class> (target=<target_package_name>)

Run located instrumentation

adb shell am instrument -w --no-window-animation <test_package_name>/<runner_class>

Note for Jacoco, a special JacocoRunner is required to work around this android bug.

Clone this wiki locally