Summary

We investigated the most relevant building blocks and reusable patterns to create our tests. Along this journey, we:

  • Understood the common assertions found in JUnit tests
  • Explained the specialized assertions found in the Android SDK
  • Explored Android mock objects and their use in Android tests
  • Exemplified the use of the different test cases available in the Android SDK

Now that we have all the building blocks, it is time to start creating more and more tests to acquire the experience needed to master the technique.

The next chapter will provide you with examples of when and where to use different test cases on Android. This will give us a great breadth of expertise in knowing what testing methodology to apply when we have a specific scenario ...

Get Learning Android Application Testing 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.