tester

package
v0.0.0-...-d481519 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReturnSetupHandlerTest

type ReturnSetupHandlerTest struct {
	Config      *config.Config
	Validation  *validation.Validation
	Generator   *mocks.Generator
	Clocker     *mocks.Clocker
	TodoUsecase *mocks.TodoUsecase
}

type Tester

type Tester interface {
	RequestWithServe(string, string, map[string]string, io.Reader) (int, string)
	RequestWithContext(string, string, map[string]string, io.Reader) (echo.Context, *httptest.ResponseRecorder)
	SetupHandlerTest() (*handler.Handler, *ReturnSetupHandlerTest)
}

func New

func New() Tester

Jump to

Keyboard shortcuts

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