testgen

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestAssemble

func TestAssemble[T, C, I any](t *testing.T, config AssembleTestConfig[T, C, I])

func TestDriver

func TestDriver[T, C, I any](t *testing.T, config DriverTestConfig[T, C, I])

Types

type AssembleTestConfig

type AssembleTestConfig[T, C, I any] struct {
	Templates       *helpers.Templates
	OverwriteGolden bool
	GoldenFile      string
	GetDriver       func() drivers.Interface[T, C, I]
}

type DriverTestConfig

type DriverTestConfig[T, C, I any] struct {
	Root            string
	Templates       *helpers.Templates
	OverwriteGolden bool
	GoldenFile      string
	GetDriver       func() drivers.Interface[T, C, I]
}

Jump to

Keyboard shortcuts

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