Implement test list files

This commit is contained in:
2024-11-14 22:11:40 +01:00
parent e4510298ed
commit 408746187e
5 changed files with 98 additions and 9 deletions

View 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)
}