testing

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupFixtures

func SetupFixtures(fixtureConfigs []FC) (map[string]interface{}, error)

func TeardownFixtures

func TeardownFixtures(fixtureConfigs []FC, fixtures map[string]interface{}) error

Types

type FC

type FC struct {
	F    Fixture
	Name string
}

type Fixture

type Fixture interface {
	Setup(map[string]interface{}) (interface{}, error)
	Teardown(interface{}) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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