Clone this repo:
  1. fae758f Log the no match reason to console when a device doesn't match the global filter by Brad Lassey · 7 weeks ago main master
  2. 1fb3bd9 Grade the isolated-module so it can be used similar to retry by Julien Desprez · 5 days ago
  3. e7dd26a Add regex matching for PythonBinaryHostTest include filters by Nadia Agueeva · 6 days ago
  4. 4650bac Use testLogSaved to copy artifacts in post processors by Julien Desprez · 8 days ago
  5. ced3fdc Extend RunOnSecondaryUserTargetPreparer to allow concurrent secondary users by Yabin Huang · 3 months ago

Trade Federation (TF / Tradefed)

TF is a test harness used to drive Android automated testing. It runs on test hosts and monitors the connected devices, handling test scheduling & execution and device management.

Other test harnesses like Compatibility Test Suite (CTS) and Vendor Test Suite (VTS) use TF as a basis and extend it for their particular needs.

Building TF:

  • source build/envsetup.sh
  • tapas tradefed-all
  • make -j8

Getting Code Reviewed

1. Create your change in Gerrit
2. Add the reviewer named "Tradefed Codereview" (email: tradefed-codereview@tradefederation.google.com.iam.gserviceaccount.com)
3. Review the code review guidance at go/tf-guidelines and go/tradefed-code-reviews
4. GWSQ should add a couple of people from the team to review your code and give feedback.

More information

More information at: https://source.android.com/docs/core/tests/tradefed/

See more details about Tradefed Architecture at: https://source.android.com/docs/core/tests/tradefed/architecture

If you are a tests writer you should start looking in the test_framework/ component which contains everything needed to write a tests in Tradefed.