O'Reilly logo

Testing and Securing Android Studio Applications by Antonio Hernández Niñirola, Belén Cruz Zapata

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Unit and Functional Tests

You already learned about Android testing in the previous chapter. You know how to develop a black-box test of the UI of your application. Now you want to learn how to implement the white-box testing for your application. Are there different types of activity testing? Does Android Studio support activity testing? How can you get the results of your test cases? We will be covering these points in this chapter.

In this chapter, you will learn how to use unit tests that allow developers to quickly verify the state and behavior of an activity on its own. The chapter will also cover functional tests; their main purpose is to check the interaction between components.

The topics that will be covered in this chapter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required