models

package
v0.0.0-...-0895c7c Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 0 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comments

type Comments struct {
	Value string `json:"value"`
	Line  int    `json:"line"`
}

type DocString

type DocString struct {
	Value       string `json:"value"`
	ContentType string `json:"content_type"`
	Line        int    `json:"line"`
}

type Embed

type Embed struct {
	Media Media  `json:"media"`
	Data  string `json:"data"`
}

type Feature

type Feature struct {
	URI         string     `json:"uri"`
	ID          string     `json:"id"`
	Keyword     string     `json:"keyword"`
	Name        string     `json:"name"`
	Description string     `json:"description"`
	Line        int        `json:"line"`
	Comments    []Comments `json:"comments"`
	Tags        []Tags     `json:"tags"`
	Scenarios   []Scenario `json:"elements"`
	Embeddings  []Embed    `json:"embeddings"`
}

type Match

type Match struct {
	Location string `json:"location"`
}

type Media

type Media struct {
	Type string `json:"type"`
}

type Metadata

type Metadata struct {
	AppVersion      string `json:"appVersion,omitempty"`
	TestEnvironment string `json:"testEnvironment,omitempty"`
	Browser         string `json:"browser,omitempty"`
	Platform        string `json:"platform,omitempty"`
	Parallel        string `json:"parallel,omitempty"`
	Executed        string `json:"executed,omitempty"`
}

type ParamList

type ParamList []string

func (*ParamList) Set

func (l *ParamList) Set(value string) error

func (*ParamList) String

func (l *ParamList) String() string

type Result

type Result struct {
	Status       string `json:"status"`
	ErrorMessage string `json:"error_message"`
	Duration     int    `json:"duration"`
}

type Row

type Row struct {
	Cells []string `json:"cells"`
}

type Scenario

type Scenario struct {
	ID          string  `json:"id"`
	Keyword     string  `json:"keyword"`
	Name        string  `json:"name"`
	Description string  `json:"description"`
	Line        int     `json:"line"`
	Type        string  `json:"type"`
	Tags        []Tags  `json:"tags"`
	Steps       []Step  `json:"steps"`
	Embeddings  []Embed `json:"embeddings"`
}

type Step

type Step struct {
	Keyword    string    `json:"keyword"`
	Name       string    `json:"name"`
	Line       int       `json:"line"`
	Match      Match     `json:"match"`
	Result     Result    `json:"result"`
	Rows       []Row     `json:"rows"`
	Embeddings []Embed   `json:"embeddings"`
	DocString  DocString `json:"doc_string"`
}

type Tags

type Tags struct {
	Name string `json:"name"`
	Line int    `json:"line"`
}

Jump to

Keyboard shortcuts

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