tests_e2e

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MockAssert

func MockAssert(assertConfig *mocklib.AssertConfig) []mocklib.ValidationError

func Request

func Request(config *mocklib.MockConfig, method, route, payload string, headers map[string]string) []byte

func RunMock

func RunMock(state *E2eState, command string) ([]byte, error)

Types

type E2eState

type E2eState struct {
	BinaryPath string
}

func NewState

func NewState() *E2eState

type KillMockFunc

type KillMockFunc func()

func RunMockBg

func RunMockBg(state *E2eState, command string) KillMockFunc

Jump to

Keyboard shortcuts

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