releasetesting

package
v2.9.0-rc4+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2018 License: Apache-2.0 Imports: 14 Imported by: 203

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	Namespace  string
	KubeClient environment.KubeClient
	Stream     services.ReleaseService_RunReleaseTestServer
	Timeout    int64
}

Environment encapsulates information about where test suite executes and returns results

func (*Environment) DeleteTestPods

func (env *Environment) DeleteTestPods(testManifests []string)

DeleteTestPods deletes resources given in testManifests

type TestSuite

type TestSuite struct {
	StartedAt     *timestamp.Timestamp
	CompletedAt   *timestamp.Timestamp
	TestManifests []string
	Results       []*release.TestRun
}

TestSuite what tests are run, results, and metadata

func NewTestSuite

func NewTestSuite(rel *release.Release) (*TestSuite, error)

NewTestSuite takes a release object and returns a TestSuite object with test definitions

extracted from the release

func (*TestSuite) Run

func (ts *TestSuite) Run(env *Environment) error

Run executes tests in a test suite and stores a result within a given environment

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL