2. Testing and Debugging

Testing and debugging are two important parts of developing for Android. These procedures revolve around making sure that your application is trustworthy, dependable, and maintainable. By using various methods of testing, you can make sure that you are working with code that does what you believe it should. By debugging your application, you can determine problems that may exist in your code, as well as get a glimpse into what is happening on the device while your application is running.

In this chapter, you learn about unit testing, integration testing, and using the debugging tools that are available with Android Studio. This will give you an understanding of why testing is important and how you can use it with your ...

Get Android™ Development Patterns: Best Practices for Professional Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.