Emma code coverage for a lib on Android
问题 I currently have some unit tests for an Android app, which makes calls to a library jar file. I would like to see the code coverage for the jar, but when I run ant emma and look at the coverage.html, it only reports on the coverage of the app project. Is there a way to specify that I would like to view the coverage for the jar as well? 回答1: The ADT r20-preview solves this issue by giving access to the full classpath of tested projects and their Library Projects: http://tools.android.com