package
Version:
v1.3.1
Opens a new window with list of versions in this module.
Published: Mar 20, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Generate(arr [][]any) [][]any
Generate generates all combinations of parameters passed as a slice
of slices of possible values for a parameter
Master generates a subject running tests for every parameter combination. We need to provide:
* A function that wraps the subject under test
* An slice of slices of possible parameters
Should be a method of Golden. Not return
type Wrapper func(args ...any) any
Source Files
¶
Click to show internal directories.
Click to hide internal directories.