scripting

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadScripts

func LoadScripts(dirs ...string) error

func RegisterSteps

func RegisterSteps(ctx *godog.ScenarioContext) error

Types

type Habitable

type Habitable struct {
	Logger    logger.Logger
	Variables common.HabitableVariables
	UsePlugin func(name string, version string, location ...string)
	AddStep   func(step string, function interface{})
}

type Script

type Script interface {
	Load() error
	Run() error
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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