dashboard

package
v1.1.0-rc Latest Latest
Warning

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

Go to latest
Published: Jun 7, 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 GetCaseResultForVariant

func GetCaseResultForVariant(testCase *test.Case, protocols []test.CaseExecutionProtocol, 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, variant *project.Variant) []CaseResult

type Dashboard

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

func NewDashboardElement

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

Jump to

Keyboard shortcuts

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