Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestTemplates embed.FS
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 DriverTestConfig ¶
type DriverTestConfig[T, C, I any] struct { Root string Templates gen.Templates OverwriteGolden bool GoldenFile string GoldenFileMod func([]byte) []byte GetDriver func() drivers.Interface[T, C, I] Dialect string // "mysql", "psql", "sqlite" - for dialect-specific test templates GoTestArgs []string }
Click to show internal directories.
Click to hide internal directories.