Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteSuite ¶
Types ¶
type ExecuteSuiteResult ¶ added in v1.16.0
ExecuteSuiteResult holds the result of test suite execution including logs
func ExecuteFromHTTPRequest ¶ added in v1.16.0
func ExecuteFromHTTPRequest(suiteReq HTTPSuiteRequest) *ExecuteSuiteResult
ExecuteFromHTTPRequest executes a test suite directly from HTTP request data
type HTTPSuiteRequest ¶ added in v1.16.0
type HTTPSuiteRequest struct {
Name string `json:"name"`
Description string `json:"description"`
EnvironmentName string `json:"environment_name"`
Tests []HTTPTestRequest `json:"tests"`
ApiKey string `json:"api_key,omitempty"` // Optional token to override global.VoiceflowAPIKey
}
HTTPSuiteRequest represents a test suite from HTTP request
type HTTPTestRequest ¶ added in v1.16.0
HTTPTestRequest represents a test from HTTP request
type LogCollector ¶ added in v1.16.0
type LogCollector struct {
Logs []string
}
LogCollector is used to collect logs during test execution
func (*LogCollector) AddLog ¶ added in v1.16.0
func (lc *LogCollector) AddLog(message string)
AddLog adds a log message to the collector
Click to show internal directories.
Click to hide internal directories.