- 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.
- Java多線程編程實戰指南:設計模式篇(第2版)
- 復雜軟件設計之道:領域驅動設計全面解析與實戰
- Learn to Create WordPress Themes by Building 5 Projects
- Instant Zepto.js
- 數據結構與算法JavaScript描述
- Web全棧工程師的自我修養
- Python自然語言處理(微課版)
- 概率成形編碼調制技術理論及應用
- Modern JavaScript Applications
- 小程序開發原理與實戰
- Hands-On Natural Language Processing with Python
- Flask Web開發:基于Python的Web應用開發實戰(第2版)
- OpenCV Android Programming By Example
- Qt 4開發實踐
- HTML5移動前端開發基礎與實戰(微課版)