Directories ¶
Path | Synopsis |
---|---|
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. |
Package bundle contains functionality shared by test bundles.
|
Package bundle contains functionality shared by test bundles. |
Package caller provides utilities to inspect the caller of a function.
|
Package caller provides utilities to inspect the caller of a function. |
cmd
|
|
local_test_runner
Package main implements the local_test_runner executable.
|
Package main implements the local_test_runner executable. |
remote_test_runner
Package main implements the remote_test_runner executable.
|
Package main implements the remote_test_runner executable. |
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. |
tast-lint
Package main implements tast-lint executable.
|
Package main implements tast-lint executable. |
tast-lint/internal/check
Package check contains tast-lint checkers.
|
Package check contains tast-lint checkers. |
tast-lint/internal/diff
Package diff computes differences between strings.
|
Package diff computes differences between strings. |
tast-lint/internal/git
Package git operates git command.
|
Package git operates git command. |
tast-lint/internal/lint
Package lint implements the core part of tast-lint.
|
Package lint implements the core part of tast-lint. |
tast/internal/build
Package build provides support for compiling tests and related executables.
|
Package build provides support for compiling tests and related executables. |
tast/internal/display
Package display provides advanced methods of logging to a terminal.
|
Package display provides advanced methods of logging to a terminal. |
tast/internal/run
Package run starts test runners and interprets their output.
|
Package run starts test runners and interprets their output. |
tast/internal/run/config
Package config defines common structs to carry configuration and associated stateful data.
|
Package config defines common structs to carry configuration and associated stateful data. |
tast/internal/run/driver
Package driver implements communications with local/remote executables related to Tast.
|
Package driver implements communications with local/remote executables related to Tast. |
tast/internal/run/driver/internal/drivercore
Package drivercore defines core data types for the driver package.
|
Package drivercore defines core data types for the driver package. |
tast/internal/run/driver/internal/runnerclient
Package runnerclient provides a client interface to tast test runners.
|
Package runnerclient provides a client interface to tast test runners. |
tast/internal/run/driver/internal/sshconfig
Package sshconfig provides functionality to parse SSH configuration and return real host information to users.
|
Package sshconfig provides functionality to parse SSH configuration and return real host information to users. |
tast/internal/run/prepare
Package prepare implements the preparation phase of Tast CLI.
|
Package prepare implements the preparation phase of Tast CLI. |
tast/internal/run/runtest
Package runtest provides fake implementations needed to test Tast CLI.
|
Package runtest provides fake implementations needed to test Tast CLI. |
tast/internal/run/runtest/internal/fakerunner
Package fakerunner provides a fake implementation of test runners.
|
Package fakerunner provides a fake implementation of test runners. |
tast/internal/run/sharding
Package sharding implements the test sharding algorithm.
|
Package sharding implements the test sharding algorithm. |
tast/internal/symbolize
Package symbolize provides support for symbolizing crashes.
|
Package symbolize provides support for symbolizing crashes. |
tast/internal/symbolize/breakpad
Package breakpad processes minidump crash reports created by Breakpad.
|
Package breakpad processes minidump crash reports created by Breakpad. |
tast/internal/symbolize/fakecmd
Package fakecmd is used to install a fake version of a command for testing.
|
Package fakecmd is used to install a fake version of a command for testing. |
Package ctxutil provides convenience functions for working with context.Context objects.
|
Package ctxutil provides convenience functions for working with context.Context objects. |
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. |
Package errors provides basic utilities to construct errors.
|
Package errors provides basic utilities to construct 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. |
Package exec is common code used by both ssh and testexec for command execution.
|
Package exec is common code used by both ssh and testexec for command execution. |
framework
|
|
protocol
Package protocol contains Tast gRPC services and protocol buffer messages available to be used outside Tast
|
Package protocol contains Tast gRPC services and protocol buffer messages available to be used outside Tast |
Package fsutil implements common file operations.
|
Package fsutil implements common file operations. |
Package genutil provides utilities to help "go generate" implementation.
|
Package genutil provides utilities to help "go generate" implementation. |
internal
|
|
bundle
Package bundle contains internal code that corresponds to the public bundle package.
|
Package bundle contains internal code that corresponds to the public bundle package. |
bundle/bundleclient
Package bundleclient provides bundle services client implementation.
|
Package bundleclient provides bundle services client implementation. |
bundle/bundletest
Package bundletest provides fake test bundles environment.
|
Package bundletest provides fake test bundles environment. |
bundle/fakebundle
Package fakebundle provides a fake implementation of test bundles.
|
Package fakebundle provides a fake implementation of test bundles. |
bundle/legacyjson
Package legacyjson defines the schema of JSON-based representation of tests used only for -dumptests option in test bundles.
|
Package legacyjson defines the schema of JSON-based representation of tests used only for -dumptests option in test bundles. |
caller
Package caller provides utilities to inspect the caller of a function.
|
Package caller provides utilities to inspect the caller of a function. |
command
Package command contains code shared by executables (e.g.
|
Package command contains code shared by executables (e.g. |
crash
Package crash can be used by local tests to interact with on-device crash reports.
|
Package crash can be used by local tests to interact with on-device crash reports. |
crosbundle
Package crosbundle contains logic specific to ChromeOS test bundles.
|
Package crosbundle contains logic specific to ChromeOS test bundles. |
crosbundle/gen
Package main implements a script for writing a Go source file containing intel family constants.
|
Package main implements a script for writing a Go source file containing intel family constants. |
debugger
Package debugger provides the ability to start binaries under a debugger.
|
Package debugger provides the ability to start binaries under a debugger. |
dep
Package dep deals with dependencies of tests.
|
Package dep deals with dependencies of tests. |
devserver
Package devserver provides a client for devservers.
|
Package devserver provides a client for devservers. |
devserver/devservertest
Package devservertest provides a fake implementation of devservers.
|
Package devservertest provides a fake implementation of devservers. |
expr
Package expr provides support for evaluating boolean expressions.
|
Package expr provides support for evaluating boolean expressions. |
extdata
Package extdata implements the external data file mechanism.
|
Package extdata implements the external data file mechanism. |
fakedutserver
Package fakedutserver provides a fake implementation of the DUT service.
|
Package fakedutserver provides a fake implementation of the DUT service. |
fakeexec
Package fakeexec provides utilities to test external program execution.
|
Package fakeexec provides utilities to test external program execution. |
fakesshserver
Package fakesshserver implements a fake SSH server.
|
Package fakesshserver implements a fake SSH server. |
faketlw
Package faketlw provides a fake implementation of the TLW service.
|
Package faketlw provides a fake implementation of the TLW service. |
linuxssh
Package linuxssh provides Linux specific operations conducted via SSH
|
Package linuxssh provides Linux specific operations conducted via SSH |
logging
Package logging provides the standard logging mechanism for Tast.
|
Package logging provides the standard logging mechanism for Tast. |
logging/loggingtest
Package loggingtest provides logging utilities for unit tests.
|
Package loggingtest provides logging utilities for unit tests. |
logs
Package logs is used on-device to collect updates to system logs.
|
Package logs is used on-device to collect updates to system logs. |
minidriver
Package minidriver provides function to run tests in an external bundle.
|
Package minidriver provides function to run tests in an external bundle. |
minidriver/bundleclient
Package bundleclient provides a client of test bundles.
|
Package bundleclient provides a client of test bundles. |
minidriver/diagnose
Package diagnose implements diagnosis logic for run failures.
|
Package diagnose implements diagnosis logic for run failures. |
minidriver/externalservers
Package externalservers provides a utility to parse external servers information.
|
Package externalservers provides a utility to parse external servers information. |
minidriver/failfast
Package failfast provides a utility to track test failures and fail fast.
|
Package failfast provides a utility to track test failures and fail fast. |
minidriver/processor
Package processor provides the test execution event processor.
|
Package processor provides the test execution event processor. |
minidriver/servo
Package servo is used to communicate with servo devices connected to DUTs.
|
Package servo is used to communicate with servo devices connected to DUTs. |
minidriver/servo/xmlrpc
Package xmlrpc implements the XML-RPC client library.
|
Package xmlrpc implements the XML-RPC client library. |
minidriver/target
Package target is responsible for maintaining resources related to targets.
|
Package target is responsible for maintaining resources related to targets. |
packages
Package packages contains utilities to deal with package names in a robust manner.
|
Package packages contains utilities to deal with package names in a robust manner. |
planner
Package planner contains logic to build and execute a test plan.
|
Package planner contains logic to build and execute a test plan. |
planner/internal/entity
Package entity provides common operations for entities.
|
Package entity provides common operations for entities. |
planner/internal/fixture
Package fixture provides fixture stack data structure.
|
Package fixture provides fixture stack data structure. |
planner/internal/output
Package output defines output stream from entities.
|
Package output defines output stream from entities. |
planner/internal/output/outputtest
Package outputtest provides functionalities for unit testing output package.
|
Package outputtest provides functionalities for unit testing output package. |
protocol
Package protocol contains gRPC services and protocol buffer messages used in the core framework.
|
Package protocol contains gRPC services and protocol buffer messages used in the core framework. |
protocol/protocoltest
Package protocoltest provides utilities for unit tests involving Tast gRPC protocol.
|
Package protocoltest provides utilities for unit tests involving Tast gRPC protocol. |
rpc
Package rpc provides internal gRPC utilities.
|
Package rpc provides internal gRPC utilities. |
run/devserver
Package devserver provides in-process devserver implementations.
|
Package devserver provides in-process devserver implementations. |
run/fakereports
Package fakereports provides a fake implementation of Reports service for unit testing.
|
Package fakereports provides a fake implementation of Reports service for unit testing. |
run/genericexec
Package genericexec provides a common interface to execute local commands and remote commands.
|
Package genericexec provides a common interface to execute local commands and remote commands. |
run/reporting
Package reporting implements test result reporting.
|
Package reporting implements test result reporting. |
run/resultsjson
Package resultsjson defines the schema of Tast-specific JSON result files (results.json).
|
Package resultsjson defines the schema of Tast-specific JSON result files (results.json). |
runner
Package runner provides functionality shared by test runners.
|
Package runner provides functionality shared by test runners. |
sshtest
Package sshtest provides support code for testing the host package.
|
Package sshtest provides support code for testing the host package. |
testcontext
Package testcontext provides logic to extract information from context.
|
Package testcontext provides logic to extract information from context. |
testing
Package testing implements public framework APIs, as well as framework-internal facility to run an entity.
|
Package testing implements public framework APIs, as well as framework-internal facility to run an entity. |
testing/testfixture
Package testfixture provides an implementation of testing.FixtureImpl to be used in unit tests.
|
Package testfixture provides an implementation of testing.FixtureImpl to be used in unit tests. |
testingutil
Package testingutil is a kitchen sink of utilities shared by Tast tests and Tast framework.
|
Package testingutil is a kitchen sink of utilities shared by Tast tests and Tast framework. |
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. |
usercode
Package usercode provides utilities to interact with user-defined code.
|
Package usercode provides utilities to interact with user-defined code. |
xcontext
Package xcontext provides Context with custom errors.
|
Package xcontext provides Context with custom errors. |
Package lsbrelease provides a parser of /etc/lsb-release.
|
Package lsbrelease provides a parser of /etc/lsb-release. |
Package rpc provides gRPC utilities for Tast tests.
|
Package rpc provides gRPC utilities for Tast tests. |
Package shutil provides shell-related utility functions.
|
Package shutil provides shell-related utility functions. |
Package ssh provides means to communicate with remote host through SSH.
|
Package ssh provides means to communicate with remote host through 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. |
Package testing provides public API for tests.
|
Package testing provides public API for tests. |
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. |
testcheck
Package testcheck provides common functions to check test definitions.
|
Package testcheck provides common functions to check test definitions. |
wlan
Package wlan provides the information of the wlan device.
|
Package wlan provides the information of the wlan device. |
Package testutil provides support code for unit tests.
|
Package testutil provides support code for unit tests. |
Package timing provides functions to record timing information.
|
Package timing provides functions to record timing information. |
Click to show internal directories.
Click to hide internal directories.