Created by request from: https://bugs.chromium.org/p/chromium/issues/detail?id=755394

Clone this repo:
  1. c33e95e tast: Add disabled and informational to test_attributes.md. by Daniel Erat · 35 hours ago master
  2. 46ea2fc tast: Fix panic when logging panic from runaway test. by Daniel Erat · 5 days ago
  3. f54f840 tast: Add run_tast.sh. by Daniel Erat · 7 days ago
  4. 42f938b tast: Include default test timeouts in "tast list" output. by Daniel Erat · 8 days ago
  5. 10d1688 tast: Make testing.Registry return copies of tests. by Daniel Erat · 8 days ago

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.

To try it out, see the quickstart document. The overview is a good starting point for learning more about how the system is structured.

Directory structure

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

  • src/chromiumos/
    • cmd/local_test_runner/ - main package for the local_test_runner executable used to execute local test bundles on-device.
    • cmd/remote_test_runner/ - main package for the remote_test_runner executable used to execute remote test bundles on the host system.
    • cmd/tast/ - main package for the tast executable used to build and run tests.
      • ... - Packages used only by the tast executable.
    • tast/... - Common packages shared by multiple executables.

Tests are located in the tast-tests repository.

Documentation

For more details, see the docs subdirectory.

GoDoc