testutils

package
v5.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package testutils gathers reusable pieces useful for testing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFixtureBytes added in v5.2.0

func LoadFixtureBytes(t *testing.T, path string) []byte

LoadFixtureBytes returns the entire contents of the given file as a byte slice

func LoadFixtureString added in v5.2.0

func LoadFixtureString(t *testing.T, format string, args ...interface{}) string

LoadFixtureString returns the entire contents of the given file as a string

func TFTestSetup

func TFTestSetup() error

TFTestSetup contains common setup for tests in all subproviders

func TFTestTeardown

func TFTestTeardown() error

TFTestTeardown contains common teardown for tests in all subproviders

Types

This section is empty.

Jump to

Keyboard shortcuts

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