test

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: MIT Imports: 14 Imported by: 0

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               *httpdog.Local
	External            *httpdog.External
	Database            *dbdog.Manager
	ScenarioInitializer func(s *godog.ScenarioContext)
}

Context is a test context for feature tests.

Jump to

Keyboard shortcuts

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