1

Organization of tested code and test cases in mavenized Android projects

view story
linux-howto

http://stackoverflow.com – I have an Android application, which is built by Maven and now I want to measure unit test coverage. I tried Cobertura, but there was a problem, which I couldn't fix. Therefore, I want to switch to Emma. I started to read about it and it appears to me that in order to use Emma it is necessary to separate the code of my application from the test cases (create separate Maven projects for the application and for its unit tests), i. e. have 2 different Maven projects. Is this true? (HowTos)