testutil

package
v1.19.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromDir

func FromDir(t *testing.T, sel, relDir string, testFunc func(t *testing.T, pkgDir string))

FromDir runs the provided test function for each subdirectory of the specified relative directory. If sel is not empty, only the subdirectory matching sel will be tested. If relDir is a single-level directory, all its immediate subdirectories will be considered. If relDir is not a single-level directory, only the specified directory itself will be tested.

Types

This section is empty.

Jump to

Keyboard shortcuts

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