test

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2025 License: MIT Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
	VS                  *vars.Steps
	Local               *httpsteps.LocalClient
	External            *httpsteps.ExternalServer
	Database            *dbsteps.Manager
	ScenarioInitializer func(s *godog.ScenarioContext)
	OptionsInitializer  func(options *godog.Options)
	Concurrency         int
}

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