rerun

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: GPL-3.0, GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetLastState = func() ([]string, error) {
	meta := readLastState()
	util.SetWorkingDir(config.ProjectRoot)
	if len(meta.FailedItems) == 0 {
		return nil, errors.New("No failed tests found.")
	}
	return meta.args(), nil
}

Functions

func ListenFailedScenarios

func ListenFailedScenarios(wg *sync.WaitGroup, specDirs []string)

ListenFailedScenarios listens to execution events and writes the failed scenarios to JSON file

func SaveState added in v0.9.0

func SaveState(args []string, specs []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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