testhelper

package
v14.39.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package testhelper consists of various helper functions to setup the test environment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareTestRootDir

func PrepareTestRootDir(t *testing.T) string

PrepareTestRootDir prepares the test root directory with the test data

func TempEnv

func TempEnv(t *testing.T, env map[string]string)

TempEnv sets environment variables for the test

Types

This section is empty.

Directories

Path Synopsis
Package requesthandlers provides functions for building test request handlers.
Package requesthandlers provides functions for building test request handlers.

Jump to

Keyboard shortcuts

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