testutil

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTempFile

func CreateTempFile(t *testing.T, content string) (string, string)

func EndToEndTest

func EndToEndTest(t *testing.T)

func JsonFromFile

func JsonFromFile(file string) http.HandlerFunc

func NewTestServer

func NewTestServer(t testing.TB, mockDir string) *httptest.Server

func TestLogger

func TestLogger() *log.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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