tests

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Validate []Validation `yaml:"validate" json:"validate"`
}

type Interaction

type Interaction struct {
	ID    string `yaml:"id" json:"id"`
	User  User   `yaml:"user" json:"user"`
	Agent Agent  `yaml:"agent" json:"agent"`
}

type Suite

type Suite struct {
	Name            string     `yaml:"name" json:"name"`
	Description     string     `yaml:"description" json:"description"`
	EnvironmentName string     `yaml:"environmentName" json:"environmentName"`
	Tests           []TestFile `yaml:"tests" json:"tests"`
}

type Test

type Test struct {
	Name         string        `yaml:"name" json:"name"`
	Description  string        `yaml:"description" json:"description"`
	Interactions []Interaction `yaml:"interactions" json:"interactions"`
}

type TestFile

type TestFile struct {
	ID   string `yaml:"id" json:"id"`
	File string `yaml:"file" json:"file"`
}

type User

type User struct {
	Type string `yaml:"type" json:"type"`
	Text string `yaml:"text,omitempty" json:"text,omitempty"`
}

type Validation

type Validation struct {
	ID    string `yaml:"id" json:"id,omitempty"`
	Type  string `yaml:"type" json:"type"`
	Value string `yaml:"value" json:"value"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL