allwinner_a64/android/platform_testing/docs/development/index.md
2018-08-08 17:48:24 +08:00

1.4 KiB

Test Development Workflow

To integrate tests into platform continuous testing service, they should meet the following guidelines.

Test Types

Supported test types are:

Functional tests make assertions of pass or fail on test cases, while metrics tests generally performs an action repeatedly to collect timing metrics.

With standardized input/output format, the need for customized result parsing and post-processing per test is eliminated, and generic test harnesses can be used for all tests that fit into the convention.

Test Case Guidelines

Test cases executed via continuous testing service are expected to be hermetic:

  • no Google account sign-in
  • no connectivity setup (telephony/wifi/bluetooth/NFC)
  • no test parameters passed in
  • no setup or tear down performed by test harness for a specific test case

Building Tests

If you are new to the workflow of adding and executing tests, please see: