Merge "DO NOT MERGE Do not copy the proto result files" into qt-dev
tree: fb1a847245dd2111524ed32b3423885ef658edbd
  1. atest/
  2. clearcut_client/
  3. common/
  4. common_util/
  5. device_build_interfaces/
  6. global_configuration/
  7. invocation_interfaces/
  8. proto/
  9. python-lib/
  10. remote/
  11. res/
  12. src/
  13. test_framework/
  14. test_result_interfaces/
  15. tests/
  16. util-apps/
  17. .classpath
  18. .gitignore
  19. .project
  20. Android.bp
  21. Android.mk
  22. atest_tradefed.sh
  23. CleanSpec.mk
  24. error_prone_rules.mk
  25. MANIFEST.mf
  26. OWNERS
  27. PREUPLOAD.cfg
  28. pylintrc
  29. README.md
  30. run_tf_cmd.sh
  31. script_help.sh
  32. TEST_MAPPING
  33. TEST_MAPPING_README
  34. tradefed.sh
  35. tradefed_win.bat
  36. verify.sh
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.