Documentation
¶
Overview ¶
Package sequence provides the sequencer that runs tests from a YAML description.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Monitor bool `yaml:"monitor"`
Common []KeyValuePair `yaml:"common"`
Definitions []Definition `yaml:"definitions"`
Executions []string `yaml:"executions"`
}
Config is the overall representation of the complete YAML document
type Definition ¶
type Definition struct {
Name string `yaml:"name"`
RunnerType string `yaml:"type"`
BHCA int `yaml:"bhca"`
Max int `yaml:"max"`
Iterations int `yaml:"iterations"`
Test string `yaml:"test"`
Next []string `yaml:"next"`
Params []KeyValuePair `yaml:"params"`
Reports Reports `yaml:"reports"`
}
Definition represents the runner definitions within the YAML
type KeyValuePair ¶
type KeyValuePair struct {
Key string `yaml:"key"`
Value interface{} `yanml:"value"`
}
KeyValuePair represents a key/value/env triplet in the YAML
type Sequence ¶
type Sequence struct {
// contains filtered or unexported fields
}
Sequence is used to read and execute a YAML sequence
func NewSequence ¶
NewSequence creates a new sequence from a reader
func NewSequenceFromFile ¶
NewSequenceFromFile creates a new sequence from an OS file
Click to show internal directories.
Click to hide internal directories.