Android-VTS (Vendor Test Suite) is an infrastructure that automates HAL and OS kernel testing. Android-VTS provides extensive functionality for Android testing and promotes a test-driven development process. Use this tag for questions referring to building, writing and using Android-VTS to test an Android native system implementation.
Usage:
• Systems Testing - To use VTS to test an Android native system implementation, set up a testing environment then test a patch using a VTS plan.
• 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:
Setup: Instructions for setting up and configuring the VTS Dashboard. Database. A scalable back-end to support the continuous integration dashboard.
Database - A scalable back-end to support the continuous integration dashboard.
User Interface - A cohesive user interface that uses material design to effectively display information about test results, profiling, and coverage.
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.
More information can be found here. Additional details can be found at the Android VTS Codelab.