commit | 686cda9cdbd2e8072a611ac6e4e905ca8e2059c7 | [log] [tgz] |
---|---|---|
author | yelinhsieh <yelinhsieh@google.com> | Wed Sep 11 15:21:42 2019 +0800 |
committer | yelinhsieh <yelinhsieh@google.com> | Wed Sep 18 16:42:00 2019 +0800 |
tree | 37a39b5293d6c04e224b1a5dec0b41c2078e682f | |
parent | 6c9ec608ad99a85b7794ce98a863bd518f737268 [diff] |
[ATest] Refactor @static_var for common using. Move static_var decorator to atest_decorator.py Use static_var to cache atest_utils._has_colors() result. Bug:140848202 Test: source && lunch m atest && atest-dev --info hello_world_test atest-dev hello_world_test m aidegen ; aidegen-dev -v m acloud ; acloud-dev create -vv Change-Id: If01c73d3e586bf8c33574fb5fa48b611f76857e2
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:
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.