gorkin

package
v0.0.0-...-0eebb48 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2015 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Debug   = log.New(ioutil.Discard, "DEBUG: ", log.Llongfile)
	Warning = log.New(ioutil.Discard, "WARNING: ", log.Llongfile)
)

Functions

func ParseGiven

func ParseGiven(givenLine string, reader *bufio.Reader) (*runnerAndArgs, error)

func ParseThen

func ParseThen(thenLine string, reader *bufio.Reader) (*runnerAndArgs, error)

func ParseWhen

func ParseWhen(whenLine string, reader *bufio.Reader) (*runnerAndArgs, error)

func RunFeatureTests

func RunFeatureTests(t *testing.T, stepIsolater interface{})

func Step

func Step(regex string, f runner)

Types

type Background

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

func ParseBackground

func ParseBackground(backgroundLine string, reader *bufio.Reader) (Background, error)

type Feature

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

func ParseFeature

func ParseFeature(featureLine string, reader *bufio.Reader) (*Feature, error)

type Scenario

type Scenario struct {
	Background
	// contains filtered or unexported fields
}

func UsingScenario

func UsingScenario(description string) *Scenario

Jump to

Keyboard shortcuts

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