The Android Vendor Test Suite (VTS) provides extensive new functionality for Android testing and promotes a test-driven development process. To help the Android development community interact with test data, Android includes the following testing resources:
- Systems Testing with VTS. Describes how to use VTS to test an Android native system implementation, set up a testing environment, then test a patch using a VTS plan.
- Test Framework. Provides details on using the VTS test
- Device shell commands. Instructions on how to use device shell commands to execute target-side test binaries, to get/set properties, environment variables, and system information, and to start/stop the Android framework.
- Test templates. Details on configuring and using test templates for test modules that are not host-side Python subclass of VTS runner's BaseTest.
- Service name aware HAL testing. Details on Android 9 support for obtaining the service name of a given HAL instance based on the device on VTS is running.
- HAL testability check. Details on Android 9 support for a runtime method that uses the device configuration to identify which VTS tests should be skipped for that device target.
- Multi-device testing. Instructions for configuring tests that require interaction between multiple Android devices.
- VTS Dashboard. Web-based user interface for viewing VTS results. Includes details on:
- Lab infrastructure. Describes the architecture of an automated testing infrastructure for running VTS, CTS, or other tests on partner devices running the AOSP Generic System Image (GSI). Requires a Host Controller.
- binder and hwbinder performance tests. Tools for measuring throughput and latency.