testrun

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2018 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List struct {
	TestRuns []*TestRun
}

List is a list of TestRuns, used for index action

func Unmarshal

func Unmarshal(input io.Reader) (List, error)

Unmarshal unmarshals a list of TestRun records

type TestRun

type TestRun struct {
	ID        string `jsonapi:"primary,test_runs"`
	Scope     string `jsonapi:"attr,scope"`
	Title     string `jsonapi:"attr,title,omitempty"`
	Notes     string `jsonapi:"attr,notes,omitempty"`
	State     string `jsonapi:"attr,state,omitempty"`
	StartedBy string `jsonapi:"attr,started_by,omitempty"`
	StartedAt string `jsonapi:"attr,started_at,omitempty"`
	EndedAt   string `jsonapi:"attr,ended_at,omitempty"`
}

TestRun represents a single TestRun

func UnmarshalSingle

func UnmarshalSingle(input io.Reader) (TestRun, error)

UnmarshalSingle unmarshals a single TestRun records

Jump to

Keyboard shortcuts

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