gherkin

package module
v0.0.0-...-53c2b4e Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 7 Imported by: 0

README

gherkin

Easy Gherkin in Go. Write tests using the standard library.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Scenario

func Scenario(s string, a ...interface{}) string

Scenario accepts a

Types

type Results

type Results struct {
	Walked    []string
	Scenarios []string
}

Results structures a list of files walked during Extract and the Scenarios gathered while visiting those files.

func Extract

func Extract(base string) (Results, error)

Extract visits all the Go source files recursively within the base directory provided and returns a list of the files visited and the Gherkin scenarios collected.

Jump to

Keyboard shortcuts

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