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