1

I'm searching for methods to analyze code coverage for the company's Appium/JUnit automated testing. We pick up the apk from an upstream Jenkins pipeline and deploy it to our test bed. The big caveat is that our app won't run on a rooted environment, not an emulator. Can I get emma to run in this type of setup? Would it be wiser to run jacoco and have it work with the sonar reports generated upstream?

  • does this help http://stackoverflow.com/questions/29133761/jacoco-code-coverage-in-android-studio? – Naman May 13 '16 at 03:30
  • I'm using maven, so I'll need to look into something equivalent with Jacoco maven plugin – Nicholas Tishko May 13 '16 at 17:45
  • You can certainly give Cobertura a try. – Naman May 13 '16 at 17:50
  • I'm looking for a solution that doesn't involve collocating the apk source code. I've looked, but not found a method involving Cobertura. Android's DDMS might be promising, based on this example -> http://stackoverflow.com/questions/12644335/method-coverage-in-an-android-application-without-source-code – Nicholas Tishko May 16 '16 at 05:35

0 Answers0