releasetesting

package
v2.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2017 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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