script

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Descriptor

type Descriptor struct {
	Locator   *Locator
	Scenarios []*engine.Scenario `yaml:"testcases"`
}

type Loader

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

func NewLoader

func NewLoader(opts LoaderOptions) (*Loader, error)

func (*Loader) LoadFile

func (l *Loader) LoadFile(locator *Locator) (*Descriptor, error)

func (*Loader) LoadFiles

func (l *Loader) LoadFiles(locators []*Locator) (descriptors map[string]*Descriptor, err error)

func (*Loader) LoadScripts

func (l *Loader) LoadScripts(sourceDirs []string) (map[string]*Descriptor, error)

func (*Loader) ReadDir

func (l *Loader) ReadDir(sourceDir string, ext string) ([]*Locator, error)

func (*Loader) ReadDirs

func (l *Loader) ReadDirs(sourceDirs []string, ext string) (locators []*Locator, err error)

type LoaderOptions

type LoaderOptions interface{}

type Locator

type Locator struct {
	FullPath string
	Home     string
	Path     string
	Error    error
}

Jump to

Keyboard shortcuts

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