testhelper

package
v14.35.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 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

Jump to

Keyboard shortcuts

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