implement feature to generate random test data
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-11 16:14:00 +11:00
parent aa65b1e784
commit 2afdacaa78
11 changed files with 500 additions and 15 deletions

View File

@@ -28,6 +28,11 @@ type TestCase struct {
ResultBodyMap map[string]interface{}
}
type RandomBody struct {
IsString bool `json:"isString"`
Length int `json:"length"`
}
type CaptureCase struct {
TestCaseName string
CaptureData CaptureCaseData