I have written on Maven and Android about over a year ago. Since then a lot of things have happened: the Maven plugin for Android has advanced considerably, there are new Android versions, improved Android tools, an Android m2e connector and many other things.
When I went back to one of my apps to start programming on it again, I noted that my Android Maven build setup was not working anymore in Eclipse after a year of lying dormant. I also found that after a bit of re-factoring I had introduced a few bugs into my code. Not a big surprise since all my Android testing had been manual testing on a device or the emulator because the test setup that comes with Android was too complex for my experience in writing tests.
For my other coding projects I have set up Jenkins and Sonar to help me analyse the quality of my code and execute my tests all the time. I learned to enjoy the advantages of good test coverage and regularly executed builds. It was time to re-think my style of Android programming and testing.
Continue reading