tast

module
Version: v0.0.0-...-d046166 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2020 License: BSD-3-Clause

README

Tast (go/tast)

Tast logo with Go gopher with green rubber 'PASS' stamp

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.

For more information, see the list of documentation.

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.

The Go gopher concept and design was originally created by Renee French and is covered by the Creative Commons Attribution 3.0 license. The Tast logo above is also covered by the Creative Commons Attribution 3.0 license.

Directories

Path Synopsis
src
chromiumos/tast/autocaps
Package autocaps determines the DUT's capabilities by parsing autotest-capability YAML files.
Package autocaps determines the DUT's capabilities by parsing autotest-capability YAML files.
chromiumos/tast/bundle
Package bundle contains functionality shared by test bundles.
Package bundle contains functionality shared by test bundles.
chromiumos/tast/caller
Package caller provides utilities to inspect the caller of a function.
Package caller provides utilities to inspect the caller of a function.
chromiumos/tast/cmd/local_test_runner
Package main implements the local_test_runner executable.
Package main implements the local_test_runner executable.
chromiumos/tast/cmd/remote_test_runner
Package main implements the remote_test_runner executable.
Package main implements the remote_test_runner executable.
chromiumos/tast/cmd/tast
Package main implements the tast executable, used to build and run tests.
Package main implements the tast executable, used to build and run tests.
chromiumos/tast/cmd/tast_rtd
Package main implements the tast_rtd executable, used to invoke tast in RTD.
Package main implements the tast_rtd executable, used to invoke tast in RTD.
chromiumos/tast/ctxutil
Package ctxutil provides convenience functions for working with context.Context objects.
Package ctxutil provides convenience functions for working with context.Context objects.
chromiumos/tast/dut
Package dut provides a connection to a DUT ("Device Under Test") for use by remote tests.
Package dut provides a connection to a DUT ("Device Under Test") for use by remote tests.
chromiumos/tast/errors
Package errors provides basic utilities to construct errors.
Package errors provides basic utilities to construct errors.
chromiumos/tast/errors/stack
Package stack provides a utility to capture and format a stack trace.
Package stack provides a utility to capture and format a stack trace.
chromiumos/tast/fsutil
Package fsutil implements common file operations.
Package fsutil implements common file operations.
chromiumos/tast/genutil
Package genutil provides utilities to help "go generate" implementation.
Package genutil provides utilities to help "go generate" implementation.
chromiumos/tast/lsbrelease
Package lsbrelease provides a parser of /etc/lsb-release.
Package lsbrelease provides a parser of /etc/lsb-release.
chromiumos/tast/rpc
Package rpc provides gRPC utilities for Tast tests.
Package rpc provides gRPC utilities for Tast tests.
chromiumos/tast/shutil
Package shutil provides shell-related utility functions.
Package shutil provides shell-related utility functions.
chromiumos/tast/ssh
Package ssh provides means to communicate with remote host through SSH.
Package ssh provides means to communicate with remote host through SSH.
chromiumos/tast/ssh/linuxssh
Package linuxssh provides Linux specific operations conducted via SSH TODO(oka): now that this file is not used from framework, simplify the code.
Package linuxssh provides Linux specific operations conducted via SSH TODO(oka): now that this file is not used from framework, simplify the code.
chromiumos/tast/testing
Package testing provides public API for tests.
Package testing provides public API for tests.
chromiumos/tast/testing/hwdep
Package hwdep provides the hardware dependency mechanism to select tests to run on a DUT based on its hardware features and setup.
Package hwdep provides the hardware dependency mechanism to select tests to run on a DUT based on its hardware features and setup.
chromiumos/tast/testing/testcheck
Package testcheck provides common functions to check test definitions.
Package testcheck provides common functions to check test definitions.
chromiumos/tast/testutil
Package testutil provides support code for unit tests.
Package testutil provides support code for unit tests.
chromiumos/tast/timing
Package timing is used to collect and write timing information about a process.
Package timing is used to collect and write timing information about a process.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL