Mobile Testing 简明教程
Mobile Testing - Frameworks Overview
一个 testing framework 或更确切地说,一个 testing 自动化 framework 是一个执行环境,用来执行 automated tests 。这是将自动化测试的整个系统。它被定义为构成工作平台或支持自动化测试的一组假设、概念和实践。
A testing framework or more specifically a testing automation framework is an execution environment to perform automated tests. It is the overall system in which the tests will be automated. It is defined as the set of assumptions, concepts, and practices that constitute a work platform or support for automated testing.
测试框架负责 −
A testing framework is responsible for −
-
Defining the format in which to express expectations
-
Creating a mechanism to hook into or drive the application under test
-
Executing the tests and reporting the results
Framework Architecture
测试框架的一般架构如下 −
The general architecture of a testing framework is as follows −

对于移动测试自动化,我们需要一个良好的移动自动化测试框架。在该框架之上,我们可以构建我们的测试用例。移动自动化测试框架可以按移动设备的操作系统进行隔离。在后面的章节中,我们将讨论两种类型的移动测试框架:Android 测试框架和 iOS 测试框架。
For mobile testing automation, we need a good mobile automation testing framework. On the top of that framework, we can build our test cases. Mobile automation testing frameworks can be segregated by the operating system of the mobile device. In the following chapters, we will discuss two types of mobile testing frameworks: Android testing frameworks and iOS testing frameworks.