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 −
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.