test

package
v0.0.0-...-dc6f9f8 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EvalTest

type EvalTest struct {
	Name    string      `ko:"name=name"` // test name
	Enabled bool        `ko:"name=enabled"`
	File    string      `ko:"name=file"`   // test ko source
	Arg     interface{} `ko:"name=arg"`    // arg for Main
	Result  interface{} `ko:"name=result"` // expecting result
}

func (*EvalTest) Play

func (test *EvalTest) Play(ctx *runtime.Context) error

type EvalTests

type EvalTests struct {
	T    *testing.T  `ko:"name=t"`
	Test []*EvalTest `ko:"name=test"`
}

func (*EvalTests) Play

func (tests *EvalTests) Play(ctx *runtime.Context) struct{}

Jump to

Keyboard shortcuts

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