testutil

package
v6.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunStructTest

func RunStructTest(t *testing.T, spec TestSpec)

Types

type PathTest

type PathTest struct {
	Path     string
	Expected any
}

type TestSpec

type TestSpec struct {
	Name      string
	Type      any
	Instance  any
	PathTests []PathTest
}

Jump to

Keyboard shortcuts

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