dashboard

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2018 License: GPL-3.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CaseResult

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

func GetCaseResultForVersion added in v1.2.0

func GetCaseResultForVersion(testCase *test.Case, protocols []test.CaseExecutionProtocol, version *project.Version) 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, version *project.Version) []CaseResult

type Dashboard

type Dashboard struct {
	Project           *project.Project
	Cases             []*test.Case
	Versions          []*project.Version
	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 {
	Version  *project.Version
	Variants []project.Variant
	Results  []CaseResult
}

func NewDashboardElement

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

type DashboardElement_Sequences added in v1.2.0

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

func NewDashboardElement_Sequences added in v1.2.0

func NewDashboardElement_Sequences(sequences []*test.Sequence, version *project.Version, 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
	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 GetCaseResultForVersion_Sequences added in v1.2.0

func GetCaseResultForVersion_Sequences(testSequence *test.Sequence, protocols []test.SequenceExecutionProtocol, version *project.Version) 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, version *project.Version) []SequenceResult

Jump to

Keyboard shortcuts

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