html

package
v0.0.0-...-6b7db9c Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseHTML

type BaseHTML struct {
	Title          string
	Timer          template.HTML
	Chart          template.HTML
	ChartJsLibrary template.HTML
	ChartJs        template.HTML
	Content        template.HTML
	CountAll       int
	CountPassed    int
	CountFailed    int
	CSS            template.HTML
	JS             template.HTML
	Metadata       template.HTML
	GeneratedAt    string
}

type ChartHTML

type ChartHTML struct {
	Id string
}

type ChartJsHTML

type ChartJsHTML struct {
	PassedFeatureChart  int
	FailedFeatureChart  int
	PassedScenarioChart int
	FailedScenarioChart int
	PassedStepChart     int
	FailedStepChart     int
	UndefinedStepChart  int
	SkippedStepChart    int
}

type Data

type Data struct {
	InputJsonPath      string `json:"inputJsonPath,omitempty"`
	InputFolderPath    string `json:"inputFolderPath,omitempty"`
	MergeFiles         bool   `json:"mergeFiles,omitempty"`
	IgnoreBadJsonFiles bool   `json:"ignoreBadJsonFiles,omitempty"`
	OutputHtmlFolder   string `json:"outputHtmlFolder,omitempty"`
	Title              string `json:"title,omitempty"`
	ShowEmbeddedFiles  bool   `json:"showEmbeddedFiles,omitempty"`
	Timer              int
	Features           []models.Feature
	JSONContent        []byte
	HTMLContent        string
	Metadata           models.Metadata `json:"metadata,omitempty"`
	GeneratedAt        string
}

kaj.fehlhaber

func (*Data) CreateReport

func (d *Data) CreateReport() (err error)

type FeatureHTML

type FeatureHTML struct {
	ModalID     string
	Id          string
	Tags        string
	Name        string
	Description template.HTML
	Failed      int
	Passed      int
	Scenarios   template.HTML
	Embed       template.HTML
	Duration    template.HTML
	Result      string
}

type ModalFileHTML

type ModalFileHTML struct {
	RowClass       string
	MediaType      string
	MediaSize      string
	MediaData      string
	MediaExtension string
	CopyOption     template.HTML
	PrintOption    template.HTML
	MediaContent   template.HTML
	ContentID      string
}

type ModalHTML

type ModalHTML struct {
	ModalID   string
	Keyword   string
	Name      string
	EmbedHTML template.HTML
	Duration  template.HTML
}

type ScenarioHTML

type ScenarioHTML struct {
	ModalID     string
	Id          string
	Tags        string
	Keyword     string
	Name        string
	Description template.HTML
	Skipped     int
	Undefined   int
	Failed      int
	Passed      int
	Steps       template.HTML
	Embed       template.HTML
	Duration    template.HTML
}

type StepHTML

type StepHTML struct {
	ModalID          string
	Status           string
	StatusCapitalize string
	ResultIcon       template.HTML
	Keyword          template.HTML
	Name             string
	Message          template.HTML
	Embed            template.HTML
	Table            template.HTML
	DocString        template.HTML
	Duration         template.HTML
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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