Starting March 27, 2025, we recommend using android-latest-release instead of aosp-main to build and contribute to AOSP. For more information, see Changes to AOSP.

Write and run Tradefed tests

This section is aimed at developers, or test writers, providing guidance on test execution, as well as writing tests. The instructions are split into two broad categories of tests:

We detail some features that are applicable to both suite and non-suite tests, for example:

We also provide some generic end-to-end examples about how to run some of the more common test types, such as:

The end-to-end examples above do not require a local checkout of Android. You can simply download Tradefed and use them directly.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025年12月02日 UTC.