dashboard

package
v2.0.0-rc12+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortVariants

func SortVariants(variants []project.Variant) []project.Variant

func SortVersions

func SortVersions(versions []*project.Version)

Types

type CaseResult

type CaseResult struct {
	TestCase  *test.Case
	Results   []test.Result
	Protocols []test.CaseExecutionProtocol
}

func GetCaseResultForVariant

func GetCaseResultForVariant(testCase *test.Case, protocols []test.CaseExecutionProtocol, versions []*project.Version, variant project.Variant) CaseResult

GetCaseResultForVariant returns the latest results for all versions of the protocols

func GetResults

func GetResults(cases []*test.Case, protocolMap map[id.TestID][]test.CaseExecutionProtocol, versions []*project.Version, variant project.Variant) []CaseResult

type Dashboard

type Dashboard struct {
	Project           *project.Project
	Cases             []*test.Case
	Versions          []*project.Version
	Variants          []project.Variant
	ProtocolMap       map[id.TestID][]test.CaseExecutionProtocol
	DashboardElements []DashboardElement
}

func NewDashboard

func NewDashboard(proj *project.Project, cases []*test.Case, protocolMap map[id.TestID][]test.CaseExecutionProtocol) Dashboard

type DashboardElement

type DashboardElement struct {
	Versions []*project.Version
	Variant  project.Variant
	Results  []CaseResult
}

func NewDashboardElement

func NewDashboardElement(cases []*test.Case, versions []*project.Version, variant project.Variant, protocolMap map[id.TestID][]test.CaseExecutionProtocol) DashboardElement

type DashboardElement_Sequences added in v1.2.0

type DashboardElement_Sequences struct {
	Versions []*project.Version
	Variant  project.Variant
	Results  []SequenceResult
}

func NewDashboardElement_Sequences added in v1.2.0

func NewDashboardElement_Sequences(sequences []*test.Sequence, versions []*project.Version, variant project.Variant, protocolMap map[id.TestID][]test.SequenceExecutionProtocol) DashboardElement_Sequences

type Dashboard_Sequences added in v1.2.0

type Dashboard_Sequences struct {
	Project           *project.Project
	Sequences         []*test.Sequence
	Versions          []*project.Version
	Variants          []project.Variant
	ProtocolMap       map[id.TestID][]test.SequenceExecutionProtocol
	DashboardElements []DashboardElement_Sequences
}

func NewDashboard_Sequences added in v1.2.0

func NewDashboard_Sequences(proj *project.Project, sequences []*test.Sequence, protocolMap map[id.TestID][]test.SequenceExecutionProtocol) Dashboard_Sequences

type SequenceResult added in v1.2.0

type SequenceResult struct {
	TestSequence *test.Sequence
	Results      []test.Result
	Protocols    []test.SequenceExecutionProtocol
}

func GetCaseResultForVariant_Sequences added in v1.3.0

func GetCaseResultForVariant_Sequences(testSequence *test.Sequence, protocols []test.SequenceExecutionProtocol, versions []*project.Version, variant project.Variant) SequenceResult

GetCaseResultForVariant_Sequences returns the latest results for all versions of the protocols

func GetResults_Sequences added in v1.2.0

func GetResults_Sequences(sequences []*test.Sequence, protocolMap map[id.TestID][]test.SequenceExecutionProtocol, versions []*project.Version, variant project.Variant) []SequenceResult

Jump to

Keyboard shortcuts

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