testcase

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2018 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShowNames

func ShowNames(input io.Reader)

ShowNames displays the name and uid of organisations

Types

type List

type List struct {
	TestCases []*TestCase
}

List is a list of TestCases, used for index action

func Unmarshal added in v0.12.0

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

Unmarshal unmarshals a list of TestCase records

func (List) FindByNameOrUID added in v0.12.0

func (testcases List) FindByNameOrUID(nameOrUID string) TestCase

FindByNameOrUID look up a TestCase by name in List

type TestCase

type TestCase struct {
	ID          string `jsonapi:"primary,test_cases"`
	Name        string `jsonapi:"attr,name"`
	Description string `jsonapi:"attr,description"`
}

TestCase represents a single TestCase

Jump to

Keyboard shortcuts

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