testutil

package
v0.60.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package testutil contains helper functions for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WalkTestdata

func WalkTestdata(t *testing.T, testdata fs.FS, root string, cb func(t *testing.T, file string, data []byte))

WalkTestdata recursively walks through the root directory in given testdata FS and spawns a test for each file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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