Merge "Report the appropriate host_logs on BuildError"
tree: 8a76eb86c5e2d2de3ca613679be4d7e992398e3f
  1. .classpath
  2. .gitignore
  3. .project
  4. Android.bp
  5. Android.mk
  6. CleanSpec.mk
  7. MANIFEST.mf
  8. OWNERS
  9. PREUPLOAD.cfg
  10. README.md
  11. TEST_MAPPING
  12. atest/
  13. atest_tradefed.sh
  14. clearcut_client/
  15. common_util/
  16. device_build_interfaces/
  17. error_prone_rules.mk
  18. global_configuration/
  19. invocation_interfaces/
  20. isolation/
  21. lite/
  22. proto/
  23. pylintrc
  24. python-lib/
  25. remote/
  26. res/
  27. run_tf_cmd.sh
  28. script_help.sh
  29. src/
  30. test_framework/
  31. test_result_interfaces/
  32. tests/
  33. tradefed.sh
  34. tradefed_win.bat
  35. util-apps/
README.md

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/devices/tech/test_infra/tradefed/

See more details about Tradefed Architecture at: https://source.android.com/devices/tech/test_infra/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.