acceptance

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppContext

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

AppContext restarts the application before every scenario.

func NewAppContext

func NewAppContext(options ...fx.Option) *AppContext

NewAppContext returns a new AppContext.

func (*AppContext) AfterFeatureContext

func (c *AppContext) AfterFeatureContext(s *godog.Suite)

AfterFeatureContext can be called as the last FeatureContext to register application shutdown as last.

func (*AppContext) BeforeFeatureContext

func (c *AppContext) BeforeFeatureContext(s *godog.Suite)

BeforeFeatureContext can be called as the first FeatureContext to register application startup as first.

func (*AppContext) FeatureContext

func (c *AppContext) FeatureContext(s *godog.Suite)

FeatureContext combines Before and After FeatureContext.

type DbContext

type DbContext struct {
	DB *sql.DB
}

DbContext can be used to expose the database from the application.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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