test

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiScenario

type ApiScenario struct {
	Name            string
	Url             string
	Method          string
	Body            io.Reader
	RunMigration    bool
	RequestHeaders  map[string]string
	ExpectedStatus  int
	ExpectedContent []string
	TestDir         string
	BeforeTestFunc  func(t *testing.T, router *gin.Engine)
}

func (*ApiScenario) Test

func (a *ApiScenario) Test(t *testing.T)

Jump to

Keyboard shortcuts

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