mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 16:04:23 +00:00
Implement test list files
This commit is contained in:
13
server/internal/testutils/assertions.go
Normal file
13
server/internal/testutils/assertions.go
Normal file
@@ -0,0 +1,13 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user