testools

package module
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTest

func CheckTest(prueba string, expected, response interface{}, t *testing.T, a ...any)

func RandomNumber added in v0.0.2

func RandomNumber() string

Types

type Request added in v0.0.2

type Request struct {
	Method   string //ej:POST, GET
	Endpoint string // url
	Object   string //ej: create/files delete/x

	Data []map[string]string

	Expected []map[string]string

	model.DataConverter
	model.FetchAdapter
	*httptest.Server
}

Jump to

Keyboard shortcuts

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