Merge "Convert to Mockito: TestInvocationTest"
tree: 8e83ef5dcd51b8dc40d52d35adf6ea1903744d15
  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. aoa_helper/
  13. aosp_sha.sh
  14. atest_proto/
  15. atest_tradefed.sh
  16. clearcut_client/
  17. common_util/
  18. device_build_interfaces/
  19. error_prone_rules.mk
  20. global_configuration/
  21. invocation_interfaces/
  22. isolation/
  23. javatests/
  24. lite/
  25. proto/
  26. pylintrc
  27. reference_tests/
  28. remote/
  29. res/
  30. run_tf_cmd.sh
  31. script_help.sh
  32. src/
  33. test_framework/
  34. test_result_interfaces/
  35. tests/
  36. tradefed.sh
  37. tradefed_win.bat
  38. 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.