Directories ¶
Path | Synopsis |
---|---|
core
|
|
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. |
bundle
Package bundle contains functionality shared by test bundles.
|
Package bundle contains functionality shared by 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. |
cmd/local_test_runner
Package main implements the local_test_runner executable.
|
Package main implements the local_test_runner executable. |
cmd/remote_test_runner
Package main implements the remote_test_runner executable.
|
Package main implements the remote_test_runner executable. |
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. |
cmd/tast-lint
Package main implements tast-lint executable.
|
Package main implements tast-lint executable. |
cmd/tast-lint/internal/check
Package check contains tast-lint checkers.
|
Package check contains tast-lint checkers. |
cmd/tast-lint/internal/diff
Package diff computes differences between strings.
|
Package diff computes differences between strings. |
cmd/tast-lint/internal/git
Package git operates git command.
|
Package git operates git command. |
cmd/tast-lint/internal/lint
Package lint implements the core part of tast-lint.
|
Package lint implements the core part of tast-lint. |
cmd/tast/internal/build
Package build provides support for compiling tests and related executables.
|
Package build provides support for compiling tests and related executables. |
cmd/tast/internal/display
Package display provides advanced methods of logging to a terminal.
|
Package display provides advanced methods of logging to a terminal. |
cmd/tast/internal/run
Package run starts test runners and interprets their output.
|
Package run starts test runners and interprets their output. |
cmd/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. |
cmd/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. |
cmd/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. |
cmd/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. |
cmd/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. |
cmd/tast/internal/run/prepare
Package prepare implements the preparation phase of Tast CLI.
|
Package prepare implements the preparation phase of Tast CLI. |
cmd/tast/internal/run/runtest
Package runtest provides fake implementations needed to test Tast CLI.
|
Package runtest provides fake implementations needed to test Tast CLI. |
cmd/tast/internal/run/runtest/internal/fakerunner
Package fakerunner provides a fake implementation of test runners.
|
Package fakerunner provides a fake implementation of test runners. |
cmd/tast/internal/run/sharding
Package sharding implements the test sharding algorithm.
|
Package sharding implements the test sharding algorithm. |
cmd/tast/internal/symbolize
Package symbolize provides support for symbolizing crashes.
|
Package symbolize provides support for symbolizing crashes. |
cmd/tast/internal/symbolize/breakpad
Package breakpad processes minidump crash reports created by Breakpad.
|
Package breakpad processes minidump crash reports created by Breakpad. |
cmd/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. |
ctxutil
Package ctxutil provides convenience functions for working with context.Context objects.
|
Package ctxutil provides convenience functions for working with context.Context objects. |
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. |
errors
Package errors provides basic utilities to construct errors.
|
Package errors provides basic utilities to construct errors. |
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. |
exec
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 |
fsutil
Package fsutil implements common file operations.
|
Package fsutil implements common file operations. |
genutil
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. |
internal/bundle/bundleclient
Package bundleclient provides bundle services client implementation.
|
Package bundleclient provides bundle services client implementation. |
internal/bundle/bundletest
Package bundletest provides fake test bundles environment.
|
Package bundletest provides fake test bundles environment. |
internal/bundle/fakebundle
Package fakebundle provides a fake implementation of test bundles.
|
Package fakebundle provides a fake implementation of test bundles. |
internal/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. |
internal/caller
Package caller provides utilities to inspect the caller of a function.
|
Package caller provides utilities to inspect the caller of a function. |
internal/command
Package command contains code shared by executables (e.g.
|
Package command contains code shared by executables (e.g. |
internal/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. |
internal/crosbundle
Package crosbundle contains logic specific to ChromeOS test bundles.
|
Package crosbundle contains logic specific to ChromeOS test bundles. |
internal/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. |
internal/debugger
Package debugger provides the ability to start binaries under a debugger.
|
Package debugger provides the ability to start binaries under a debugger. |
internal/dep
Package dep deals with dependencies of tests.
|
Package dep deals with dependencies of tests. |
internal/devserver
Package devserver provides a client for devservers.
|
Package devserver provides a client for devservers. |
internal/devserver/devservertest
Package devservertest provides a fake implementation of devservers.
|
Package devservertest provides a fake implementation of devservers. |
internal/expr
Package expr provides support for evaluating boolean expressions.
|
Package expr provides support for evaluating boolean expressions. |
internal/extdata
Package extdata implements the external data file mechanism.
|
Package extdata implements the external data file mechanism. |
internal/fakedutserver
Package fakedutserver provides a fake implementation of the DUT service.
|
Package fakedutserver provides a fake implementation of the DUT service. |
internal/fakeexec
Package fakeexec provides utilities to test external program execution.
|
Package fakeexec provides utilities to test external program execution. |
internal/fakesshserver
Package fakesshserver implements a fake SSH server.
|
Package fakesshserver implements a fake SSH server. |
internal/faketlw
Package faketlw provides a fake implementation of the TLW service.
|
Package faketlw provides a fake implementation of the TLW service. |
internal/linuxssh
Package linuxssh provides Linux specific operations conducted via SSH
|
Package linuxssh provides Linux specific operations conducted via SSH |
internal/logging
Package logging provides the standard logging mechanism for Tast.
|
Package logging provides the standard logging mechanism for Tast. |
internal/logging/loggingtest
Package loggingtest provides logging utilities for unit tests.
|
Package loggingtest provides logging utilities for unit tests. |
internal/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. |
internal/minidriver
Package minidriver provides function to run tests in an external bundle.
|
Package minidriver provides function to run tests in an external bundle. |
internal/minidriver/bundleclient
Package bundleclient provides a client of test bundles.
|
Package bundleclient provides a client of test bundles. |
internal/minidriver/diagnose
Package diagnose implements diagnosis logic for run failures.
|
Package diagnose implements diagnosis logic for run failures. |
internal/minidriver/externalservers
Package externalservers provides a utility to parse external servers information.
|
Package externalservers provides a utility to parse external servers information. |
internal/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. |
internal/minidriver/processor
Package processor provides the test execution event processor.
|
Package processor provides the test execution event processor. |
internal/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. |
internal/minidriver/servo/xmlrpc
Package xmlrpc implements the XML-RPC client library.
|
Package xmlrpc implements the XML-RPC client library. |
internal/minidriver/target
Package target is responsible for maintaining resources related to targets.
|
Package target is responsible for maintaining resources related to targets. |
internal/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. |
internal/planner
Package planner contains logic to build and execute a test plan.
|
Package planner contains logic to build and execute a test plan. |
internal/planner/internal/entity
Package entity provides common operations for entities.
|
Package entity provides common operations for entities. |
internal/planner/internal/fixture
Package fixture provides fixture stack data structure.
|
Package fixture provides fixture stack data structure. |
internal/planner/internal/output
Package output defines output stream from entities.
|
Package output defines output stream from entities. |
internal/planner/internal/output/outputtest
Package outputtest provides functionalities for unit testing output package.
|
Package outputtest provides functionalities for unit testing output package. |
internal/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. |
internal/protocol/protocoltest
Package protocoltest provides utilities for unit tests involving Tast gRPC protocol.
|
Package protocoltest provides utilities for unit tests involving Tast gRPC protocol. |
internal/rpc
Package rpc provides internal gRPC utilities.
|
Package rpc provides internal gRPC utilities. |
internal/run/devserver
Package devserver provides in-process devserver implementations.
|
Package devserver provides in-process devserver implementations. |
internal/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. |
internal/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. |
internal/run/reporting
Package reporting implements test result reporting.
|
Package reporting implements test result reporting. |
internal/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). |
internal/runner
Package runner provides functionality shared by test runners.
|
Package runner provides functionality shared by test runners. |
internal/sshtest
Package sshtest provides support code for testing the host package.
|
Package sshtest provides support code for testing the host package. |
internal/testcontext
Package testcontext provides logic to extract information from context.
|
Package testcontext provides logic to extract information from context. |
internal/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. |
internal/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. |
internal/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. |
internal/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. |
internal/usercode
Package usercode provides utilities to interact with user-defined code.
|
Package usercode provides utilities to interact with user-defined code. |
internal/xcontext
Package xcontext provides Context with custom errors.
|
Package xcontext provides Context with custom errors. |
lsbrelease
Package lsbrelease provides a parser of /etc/lsb-release.
|
Package lsbrelease provides a parser of /etc/lsb-release. |
rpc
Package rpc provides gRPC utilities for Tast tests.
|
Package rpc provides gRPC utilities for Tast tests. |
shutil
Package shutil provides shell-related utility functions.
|
Package shutil provides shell-related utility functions. |
ssh
Package ssh provides means to communicate with remote host through SSH.
|
Package ssh provides means to communicate with remote host through SSH. |
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. |
testing
Package testing provides public API for tests.
|
Package testing provides public API for tests. |
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. |
testing/testcheck
Package testcheck provides common functions to check test definitions.
|
Package testcheck provides common functions to check test definitions. |
testing/wlan
Package wlan provides the information of the wlan device.
|
Package wlan provides the information of the wlan device. |
testutil
Package testutil provides support code for unit tests.
|
Package testutil provides support code for unit tests. |
timing
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.