Build Provider in Tradefed

Build Providers in TF are represented by the IBuildProvider Interface. Any implementation of the interface can be used in a test configuration. This flexible design allows interacting with any type of system.

Build Provider creates Build Info populated with all the resources needed by the setup and tests.

Local build providers

When running locally, several possible configurations exist:

  • Find and use a locally built device image: LocalDeviceBuildProvider. This is typically used to flash a locally built Android image before running its tests.
  • Find and use locally built test cases: BootstrapBuildProvider. This is typically used to run tests against an already flashed and ready device. This is the provider used by Atest during local testing.


Use the object tag build_provider. For example:

<build_provider class="" />