suite

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(test *Test, args []string) error

Types

type Suite

type Suite struct {
	Queue0 *run.Queue
	Queue1 *run.Queue
}

func GetNewSuite

func GetNewSuite() *Suite

func (*Suite) ClearData

func (s *Suite) ClearData() error

func (*Suite) End

func (s *Suite) End() error

func (*Suite) EndPrint

func (s *Suite) EndPrint()

func (*Suite) Restart

func (s *Suite) Restart() error

func (*Suite) Start

func (s *Suite) Start() error

type Test

type Test struct {
	Name string
	Test func(*TestRequest) error
}

func Tests

func Tests(routeSets ...[]Test) []Test

type TestRequest

type TestRequest struct {
	Suite *Suite
	Args  []string
}

Jump to

Keyboard shortcuts

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