commit | 58de10addfb8dfe3a6420b48379332fc53f7ef96 | [log] [tgz] |
---|---|---|
author | yelinhsieh <yelinhsieh@google.com> | Wed Sep 25 17:01:01 2019 +0800 |
committer | yelinhsieh <yelinhsieh@google.com> | Thu Sep 26 14:25:26 2019 +0800 |
tree | 722853b17f7739b6408cd35dbe60e0f5bb1ebefd | |
parent | c602f01222f1b8d7dfd487455dbd3e20484fadbf [diff] |
[ATest] Enable logcat-on-failure option. In order to provide more test case related log, always pass --logcat-on-failure option to TF. Bug:141599075 Test: source && lunch m atest && atest-dev hello_world_test add "EXPECT_EQ(1, 2);" in platform_testing/tests/example/native/HelloWorldTest.cpp test method. There is a log "xxx_logcat-on-failure_xxx.zip" in test logs folder. Change-Id: I8333c4c307fed511e7eb2cbcdbf44cb7d04240b1
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.