I know of
ant coverage
However that does a few things, it compiles with emma instrumentation, installs, and runs the test apk. I don\'t wa
// coverage.py
development\testrunner\coverage.py
def TestDeviceCoverageSupport(adb): """Check if device has support for generating code coverage metrics.
This tries to dump emma help information on device, a response containing help information will indicate that emma is already on system class path.
Returns: True if device can support code coverage. False otherwise. """ try: output = adb.SendShellCommand("exec app_process / emma -h")
if output.find('emma usage:') == 0:
return True
except errors.AbortError: pass return False
adb shell exec app_process / eamm -h
build core images http://duykham.blogspot.com/2009/09/how-to-get-emma-code-coverage-of.html