Unit Testing Android Apps: A Hands-On Workshop
With a global market share of more than 86 percent, Android has taken over the mobile world. Since it’s relatively easy to begin developing Android apps with the free tools available, the Google Play Store has millions of Android applications. Many developers find their apps more frail with each update as adding a feature to one activity breaks something outside it. Unfortunately, it is usually the customer who finds these bugs and then punishes the app with bad reviews. However, Troy Miles says there is a solution—robust unit testing. In this hands-on workshop, Troy shows you how to create unit tests for your Android applications, introduces the most popular unit test frameworks, and explains what they have in common and how they differ. Participants will choose a framework, add it to Android Studio, create unit tests for their demo app, and run the unit tests. Learn what makes a good unit test and how to measure its coverage. Dive into test-driven development by first writing the unit tests for a new feature and then writing the code to make the tests pass. By the end of the session, you will know how to add unit tests to your Android projects and be on the road to higher quality and more robust apps.
Laptop Required: This is a hands-on class so bring a laptop with the following downloaded and installed—