shore_testing

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assertion

type Assertion struct {
	ExpectedStatus string                 `json:"expected_status"`
	ExpectedOutput map[string]interface{} `json:"expected_output"`
}

Assertion - describes supported stage assertions

type TestConfig

type TestConfig struct {
	ExecArgs   map[string]interface{} `json:"execution_args"`
	Assertions map[string]Assertion   `json:"assertions"`
}

TestConfig - describes a high level test config for a pipeline

type TestsConfig

type TestsConfig struct {
	// RenderArgs
	Application string                `json:"application"`
	Pipeline    string                `json:"pipeline"`
	Timeout     int                   `json:"timeout"`
	Parallel    bool                  `json:"parallel"`
	Tests       map[string]TestConfig `json:"tests"`
	Ordering    []string              `json:"ordering"`
}

TestsConfig - describes the tests to run agains a pipeline

Jump to

Keyboard shortcuts

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