test

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Test

type Test struct {

	// test data
	TestUsername string
	TestPassword string
	TestToken    string
	// contains filtered or unexported fields
}
var T *Test

func NewTest

func NewTest() (res *Test, err error)

func (*Test) Cleanup

func (t *Test) Cleanup()

func (*Test) NewExpect

func (t *Test) NewExpect(t2 *testing.T) (e *httpexpect.Expect)

func (*Test) Setup

func (t *Test) Setup(t2 *testing.T)

func (*Test) WithAuth

func (t *Test) WithAuth(req *httpexpect.Request) *httpexpect.Request

Jump to

Keyboard shortcuts

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