validation

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2017 License: GPL-3.0, GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TableRows = ""

Functions

func Validate

func Validate(args []string)

Types

type SpecValidationError added in v0.8.0

type SpecValidationError struct {
	// contains filtered or unexported fields
}

func NewSpecValidationError added in v0.8.0

func NewSpecValidationError(m string, f string) SpecValidationError

func (SpecValidationError) Error added in v0.8.0

func (s SpecValidationError) Error() string

type StepValidationError

type StepValidationError struct {
	// contains filtered or unexported fields
}

func NewStepValidationError added in v0.8.0

func (StepValidationError) Error

func (s StepValidationError) Error() string

type ValidationResult added in v0.6.2

type ValidationResult struct {
	SpecCollection *gauge.SpecCollection
	ErrMap         *gauge.BuildErrors
	Runner         runner.Runner
	Errs           []error
	ParseOk        bool
}

func NewValidationResult added in v0.6.2

func NewValidationResult(s *gauge.SpecCollection, errMap *gauge.BuildErrors, r runner.Runner, parseOk bool, e ...error) *ValidationResult

func ValidateSpecs

func ValidateSpecs(args []string, debug bool) *ValidationResult

Jump to

Keyboard shortcuts

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