config

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Recursive bool `yaml:"recursive"`
	Namespace NamespaceConfig
	Runtime   RuntimeConfig
}

type CucumberConfig added in v0.0.25

type CucumberConfig struct {
	Tags    []string `yaml:"tags"`
	Glue    []string `yaml:"glue"`
	Options string   `yaml:"options"`
}

type NamespaceConfig

type NamespaceConfig struct {
	Name       string `yaml:"name"`
	Temporary  bool   `yaml:"temporary"`
	AutoRemove bool   `yaml:"autoremove"`
}

type RunConfig added in v0.0.24

type RunConfig struct {
	Config Config       `yaml:"config"`
	Pre    []StepConfig `yaml:"pre"`
	Post   []StepConfig `yaml:"post"`
}

func LoadConfig

func LoadConfig(file string) (*RunConfig, error)

func NewWithDefaults added in v0.0.26

func NewWithDefaults() *RunConfig

type RuntimeConfig added in v0.0.25

type RuntimeConfig struct {
	Cucumber CucumberConfig
}

type StepConfig added in v0.0.26

type StepConfig struct {
	Run    string `yaml:"run"`
	Script string `yaml:"script"`
}

Jump to

Keyboard shortcuts

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