Documentation ¶
Overview ¶
Package test provides feature test runner.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunFeatures ¶
func RunFeatures(t *testing.T, envPrefix string, cfg brick.WithBaseConfig, init func(tc *Context) (*brick.BaseLocator, http.Handler))
RunFeatures runs feature tests.
Types ¶
type Context ¶
type Context struct { Vars *shared.Vars Local *httpsteps.LocalClient External *httpsteps.ExternalServer Database *dbsteps.Manager ScenarioInitializer func(s *godog.ScenarioContext) Concurrency int }
Context is a test context for feature tests.
Click to show internal directories.
Click to hide internal directories.