0

I have created an android app and I'd like to analyze the code coverage of integration tests. Assuming the activities as units, I have tested the interaction between some activities (with monkeyrunner) so as to validate some scenarios of my app's use cases.

  • Is it possible to evaluate my integration tests' code coverage through tools like Emma?
  • If so, is it possible to run monkeyrunner scripts while Emma computes the coverage?

I have just found tutorials that show how computes Emma code coverage for Android Unit Test...

Floegipoky
  • 3,087
  • 1
  • 31
  • 47
Dev
  • 1
  • 1

1 Answers1

0

Obtaining code coverage of a running Android application is probably what you are looking for.

Also, for creating your tests I would recommend giving AndroidViewClient a try as a monkeyrunner drop-in replacement, which allows automatic generation of tests just recording your actions on the screen (try culebra -UG).

Diego Torres Milano
  • 65,697
  • 9
  • 111
  • 134
  • Hi, you do not use monkeyrunner in the guide...unfortunately I MUST use it to test my app. – Dev Oct 31 '14 at 14:55