Documentation ¶
Index ¶
- Variables
- func ExcludedIntegrationTests() []string
- func ExcludedRaceTests() []string
- func ExcludedTests() []string
- func ListTests() ([]string, error)
- func RunProjectTests(jirix *jiri.X, env map[string]string, projects []string, opts ...Opt) (map[string]*test.Result, error)
- func RunTests(jirix *jiri.X, env map[string]string, tests []string, opts ...Opt) (map[string]*test.Result, error)
- type BlessingsRootOpt
- type CleanGoOpt
- type DefaultPkgsOpt
- type MergePoliciesOpt
- type Mirror
- type NamespaceRootOpt
- type NumWorkersOpt
- type Opt
- type OutputDirOpt
- type PartOpt
- type PkgsOpt
- type TestPresubmitTestOpt
Constants ¶
This section is empty.
Variables ¶
var ( // The name of the profile database file to use. It is intended // to be set via a command line flag. ProfilesDBFilename = jiri.ProfilesDBDir )
Functions ¶
func ExcludedIntegrationTests ¶
func ExcludedIntegrationTests() []string
ExcludedIntegrationTests returns the set of integration tests to be excluded from the tests executed when testing the Vanadium project.
func ExcludedRaceTests ¶
func ExcludedRaceTests() []string
ExcludedRaceTests returns the set of race tests to be excluded from the tests executed when testing the Vanadium project.
func ExcludedTests ¶
func ExcludedTests() []string
ExcludedTests returns the set of tests to be excluded from the tests executed when testing the Vanadium project.
Types ¶
type BlessingsRootOpt ¶
type BlessingsRootOpt string
BlessingsRootOpt is an option that specifies the blessings root of the services to check in VanadiumProdServicesTest.
func (BlessingsRootOpt) Opt ¶
func (BlessingsRootOpt) Opt()
type CleanGoOpt ¶
type CleanGoOpt bool
CleanGoOpt is an option that specifies whether to remove Go object files and binaries before running the tests.
func (CleanGoOpt) Opt ¶
func (CleanGoOpt) Opt()
type DefaultPkgsOpt ¶
type DefaultPkgsOpt []string
DefaultPkgsOpt is an option that specifies which default packages should be used to validate the test packages against.
func (DefaultPkgsOpt) Opt ¶
func (DefaultPkgsOpt) Opt()
type MergePoliciesOpt ¶
type MergePoliciesOpt profilesreader.MergePolicies
MergePoliciesOpt is an option that specifies merge policies for use when merging environment variables from the environment and from profiles.
func (MergePoliciesOpt) Opt ¶
func (MergePoliciesOpt) Opt()
type NamespaceRootOpt ¶
type NamespaceRootOpt string
NamespaceRootOpt is an option that specifies the namespace root of the services to check in VanadiumProdServicesTest.
func (NamespaceRootOpt) Opt ¶
func (NamespaceRootOpt) Opt()
type NumWorkersOpt ¶
type NumWorkersOpt int
NumWorkersOpt is an option to control the number of test workers used.
func (NumWorkersOpt) Opt ¶
func (NumWorkersOpt) Opt()
type OutputDirOpt ¶
type OutputDirOpt string
OutputDirOpt is an option that specifies where to output the test results.
func (OutputDirOpt) Opt ¶
func (OutputDirOpt) Opt()
type PkgsOpt ¶
type PkgsOpt []string
PkgsOpt is an option that specifies which Go tests to run using a list of Go package expressions.
type TestPresubmitTestOpt ¶
TestPresubmitTestOpt is an option used in testPresubmitTest for checking the content of a file.
func (TestPresubmitTestOpt) Opt ¶
func (TestPresubmitTestOpt) Opt()
Source Files ¶
- android.go
- baku.go
- binaries.go
- bootstrap.go
- cleanup_profiles.go
- cobertura.go
- common.go
- github.go
- go.go
- java.go
- javascript.go
- madb.go
- makefile.go
- mojo.go
- playground.go
- postsubmit.go
- predicates.go
- presubmit.go
- prod.go
- projects.go
- release.go
- release_kube.go
- rpc.go
- run.go
- signup.go
- snapshot.go
- vdl.go
- vkube.go
- website.go