tast: Give local/chrome access to autotestPrivate API.

Make the local/chrome package load an extension that can be
used to access the autotestPrivate API, which is needed to
do things like enabling the Play Store from within tests.

BUG=chromium:737628
TEST=added some unit tests; also used in conjunction with
     followup change that adds a test to check that android
     boots

Change-Id: Ia2bc8c0dfc7c185246d7361bb7cecac4655c3a01
Reviewed-on: https://chromium-review.googlesource.com/664066
Commit-Ready: Dan Erat <derat@chromium.org>
Tested-by: Dan Erat <derat@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
4 files changed
tree: 0847d7935406da7cc5c74dce244a65ad7fcd47cf
  1. docs/
  2. src/
  3. README.md
README.md

Tast

Tast is an integration-testing system for Chrome OS. Its focus is on maintainability, speed, and ease of interpreting and reproducing test results. It supports building, deploying, and running tests. It doesn't implement other functionality like managing labs of devices used for testing, scheduling tests, or storing test results.

The overview is a good starting point.

Directory structure

This repository is organized in accordance with the Go in Chromium OS suggestions.

  • src/chromiumos/tast/
    • common/ - Packages shared between two or more of local/, remote/, and tast/.
    • local/ - main package for the local_tests executable containing “local” tests, i.e. ones that run on-device.
      • tests/ - Local tests, packaged by category.
      • ... - Packages used only by local tests.
    • remote/ - main package for the remote_tests executable containing “remote” tests, i.e. ones that run off-device.
      • tests/ - Remote tests, packaged by category.
      • ... - Packages used only by remote tests.
    • tast/ - main package for the tast executable used to build and run tests.
      • ... - Packages used only by the tast executable.

Documentation

For more details, see the docs subdirectory.