- Learning Android Application Testing
- Paul Blundell Diego Torres Milano
- 176字
- 2021-07-23 19:58:53
Chapter 2. Understanding Testing with the Android SDK
We now know how to create tests inside an Android project and how to run these tests. It is now time to start digging a bit deeper to recognize the building blocks available to create more useful tests.
In this second chapter, we will be covering the following topics:
- Common assertions
- View assertions
- Other assertion types
- Helpers to test User Interfaces
- Mock objects
- Instrumentation
- TestCase class hierarchies
- Using external libraries
We will be analyzing these components and showing examples of their use when applicable. The examples in this chapter are intentionally split from the original Android project that contains them. This is done to let you concentrate and focus only on the subject being presented, though the complete examples in a single project can be downloaded as explained later. Right now, we are interested in the trees and not the forest.
Along with the examples presented, we will be identifying reusable common patterns that will help you in the creation of tests for your own projects.
- Learning Microsoft Windows Server 2012 Dynamic Access Control
- UNIX編程藝術
- OpenStack Cloud Computing Cookbook(Third Edition)
- Getting Started with React
- JavaScript:Functional Programming for JavaScript Developers
- C# Programming Cookbook
- Python編程:從入門到實踐
- Nginx實戰:基于Lua語言的配置、開發與架構詳解
- Python深度學習原理、算法與案例
- Scala Data Analysis Cookbook
- Hands-On Nuxt.js Web Development
- Hands-On GUI Programming with C++ and Qt5
- Django實戰:Python Web典型模塊與項目開發
- Clojure High Performance Programming(Second Edition)
- Serverless工程實踐:從入門到進階