Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
Message string `json:"message"`
Expected any `json:"expected,omitempty"`
Actual any `json:"actual,omitempty"`
}
Error represents a structured error with optional expected/actual values for diffs
func NewDiffError ¶
NewDiffError creates an error with expected and actual values for diff display
type Info ¶
type Info struct {
Type InfoType `json:"type"`
Title string `json:"title"`
Content string `json:"content"`
Args []InfoArg `json:"args,omitempty"`
Timestamp time.Duration `json:"timestamp"`
Language string `json:"language,omitempty"`
}
Info represents a piece of information about a test execution
type InfoType ¶
type InfoType string
InfoType represents the type of information being reported
const ( // InfoTypeHelper is used when a helper function is called InfoTypeHelper InfoType = "helper" // InfoTypeRequest is used for HTTP/GraphQL requests InfoTypeRequest InfoType = "request" // InfoTypeResponse is used for HTTP/GraphQL responses InfoTypeResponse InfoType = "response" // InfoTypeQuery is used for SQL/GraphQL queries InfoTypeQuery InfoType = "query" // InfoTypeResult is used for query results InfoTypeResult InfoType = "result" )
Click to show internal directories.
Click to hide internal directories.