testUtils

package
v0.19.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalJson

func MarshalJson(data any) []byte

func ReadJsonFromFile

func ReadJsonFromFile(filepath string) ([]byte, error)

Types

type TestCasesStruct

type TestCasesStruct struct {
	Name             string
	RequestPayload   wscutils.Request
	ExpectedHttpCode int
	TestJsonFile     string
	ExpectedResult   *wscutils.Response
}

Jump to

Keyboard shortcuts

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