Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPContext ¶
type HTTPContext struct {
// IsDebug enables debug logging
IsDebug bool
// TestCases is the list of test cases to run
TestCases []HTTPTestCase
}
HTTPContext holds configuration for HTTP-based testing
func NewHTTPContext ¶
func NewHTTPContext(testCases []HTTPTestCase, isDebug bool) HTTPContext
NewHTTPContext creates a new HTTP context with test cases
func (HTTPContext) Validate ¶
func (c HTTPContext) Validate() error
Validate checks if the context is valid
type HTTPTestCase ¶
type HTTPTestCase struct {
// Slug is the unique identifier for the test case
Slug string
// TesterLogPrefix is the prefix for tester logs (e.g., "stage-1")
TesterLogPrefix string
// Title is the display title (e.g., "Stage #1: Basic Interface")
Title string
}
HTTPTestCase represents a test case for HTTP testing
Click to show internal directories.
Click to hide internal directories.