I know Android's Ant tooling comes with built-in Emma code coverage, but Emma's reports look more and more dated and cannot be easily integrated into other coverage reports or even Sonar, basically because Emma lacks a detailed XML reporting format. What I want to achieve is
- code coverage for unit tests (Robolectric-based, already done with Cobertura)
- code coverage for integration tests (Robotium-/emulator-based, currently done separately with Emma)
- ideally merging code coverage results (this is IMHO only possible with Cobertura and requires the raw *.ser files from every test execution)
- publishing to Sonar (currently only done with the unit test coverage, Sonar understands only one coverage format to my knowledge)
Do I have any alternatives?
edit: This post on sonar-devel probably sums up the current state of Android code coverage support as well as Sonar support pretty much. sigh