Conference archive

SEE PRICING & PACKAGES

Wednesday, April 26, 2017 - 8:30am to 12:00pm

Unit Testing Android Apps: A Hands-On Workshop

Add to calendar

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—

Troy Miles
Software Engineer and Author

Troy Miles, aka the Rockncoder, began writing computer games in assembly language for early computers—Apple II, Commodore C64, and the IBM PC—more than thirty-five years ago. Nowadays he writes web and mobile apps for a Southern California-based automotive valuation and information company. Troy is fluent in JavaScript, C#, and C++, and good in Swift, Kotlin, and Clojure. Nights and weekends find him writing cool apps for mobile and web—or teaching others how to do so. Troy is a frequent speaker at conferences, code camps, and local developer groups all over southern California and Las Vegas. He has a YouTube channel, is the author of jQuery Essentials, writes about software development, and posts on Safari Books Online, Packt Publishing, and his own blog.