tests

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 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"`
}

type Interaction

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

type Suite

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

type Test

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

type TestFile

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

type User

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

type Validation

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

Jump to

Keyboard shortcuts

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