The Compatibility Test Suite (CTS) is a free downloadable open-source testing suite that is used for tests during the development process.
How does the CTS work?
The CTS is an automated testing suite that runs on a desktop computer and executes cases on attached devices or emulator. The test suite is designed to be integrated into the daily workflow of the development and to ensure the software compatibility through the process.
The CTS includes two major software components:
- The CTS test runs on a desktop machine and manages test execution.
- Individual test cases are executed on the Device Under Test (DUT).
The Compatibility Test Suite Verifier (CTS Verifier) is a tool for manual testing, so that can be tested functions which cannot be tested on a stationary device like touchscreen, camera, audio, accelerometer, etc.
The CTS Verifier includes the following software components:
- The CTS Verifier app that is executed on the DUT and collects the results.
- The executable(s) or script(s) that are executed on the desktop machine to provide data or additional control for some test cases in the CTS Verifier app.
Compatibility Test Suite (CTS) Workflow
The scheme shows how the CTS workflow is going.
Types of test cases
The CTS includes the following types of test cases:
- Unit tests test atomic units of code within the Android platform.
- Functional tests test a combination of APIs together in a higher-level use-case.
Future versions of the CTS will include the following types of test cases:
- Robustness tests test the durability of the system under stress.
- Performance tests test the performance of the system against defined benchmarks, for example rendering frames per second.