mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 16:04:23 +00:00
14 lines
276 B
Go
14 lines
276 B
Go
package testutils
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
// TestCase defines a generic test case structure that can be used across packages
|
|
type TestCase struct {
|
|
Name string
|
|
Setup func(t *testing.T, fixtures any)
|
|
Fixtures any
|
|
Validate func(t *testing.T, result any, err error)
|
|
}
|