Go from your first unit test to a continuous integration server build! This two-part class will introduce you to reasons for automating the testing of your applications and then go on to show you how it can be done. You will learn about unit tests of plain Java classes running on the JVM.
After learning the difference of code running on the JVM and the Dalvik VM and the associated Android stack, you will see how to write integration (or instrumentation) tests with the features supplied by the Android SDK. After that you will see how Robotium builds on top of that and how Robolectric takes a completely different approach by running on JVM with mocked classes instead. Comparing and combining the approaches, we will finally get it all running on the continuous integration server Hudson.
6th–9th November 2011