Before You Begin
The authors are assuming the reader has some basic knowledge of Android and have all of the tools such as Eclipse and the Android SDK installed and working. The examples given here are engineered to show how the Android JUnit framework can be used to test Android applications. Specifically, this tutorial will show you how to test aspects of an Activity and identify program errors. These errors are determined, but not addressed, as part of this tutorial.
Note: The code for the SimpleCalc application is available on Google Code as well as from the above link.
Step 1: Review the SimpleCalc Application
First, let’s take a few moments to look over the SimpleCalc…
View original post 3,175 more words