Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCLI ¶
func RunCLI(env map[string]string, definition tester_definition.TesterDefinition) int
RunCLI executes the tester based on user-provided env vars
func RunHTTPCLI ¶ added in v0.6.0
func RunHTTPCLI(testCases []httpcontext.HTTPTestCase, definition tester_definition.TesterDefinition, isDebug bool) int
RunHTTPCLI is the main entry point for HTTP-based testers This replaces RunCLI() for HTTP-only testing
func RunHTTPCLIWithFilter ¶ added in v0.7.0
func RunHTTPCLIWithFilter(testCases []httpcontext.HTTPTestCase, definition tester_definition.TesterDefinition, isDebug bool, filter *testfilter.TestFilter) int
RunHTTPCLIWithFilter is the main entry point for HTTP-based testers with filtering support This allows selective execution of test cases based on filter criteria
Types ¶
type HTTPTester ¶ added in v0.6.0
type HTTPTester struct {
// contains filtered or unexported fields
}
HTTPTester is a simplified tester for HTTP JSON-RPC 2.0 testing
func NewHTTPTester ¶ added in v0.6.0
func NewHTTPTester(testCases []httpcontext.HTTPTestCase, definition tester_definition.TesterDefinition, isDebug bool) (*HTTPTester, error)
NewHTTPTester creates a new HTTP tester
func (*HTTPTester) Run ¶ added in v0.6.0
func (t *HTTPTester) Run() bool
Run executes all test cases
Click to show internal directories.
Click to hide internal directories.