Merge "Use truth-prebuilt instead of truth-prebuilt jar"
tree: 1a1ba157af8671b7d821e7b32aa845383a0c39fa
  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. proto/
  21. pylintrc
  22. python-lib/
  23. remote/
  24. res/
  25. run_tf_cmd.sh
  26. script_help.sh
  27. src/
  28. test_framework/
  29. test_result_interfaces/
  30. tests/
  31. tradefed.sh
  32. tradefed_win.bat
  33. 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

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.