gunit

package
v0.0.0-...-26e1b9e Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CoClauseT1 = `` /* 185-byte string literal not displayed */
View Source
var CoClauseT2 = `` /* 200-byte string literal not displayed */
View Source
var TestFileT = `` /* 168-byte string literal not displayed */
View Source
var TestFuncT = `` /* 249-byte string literal not displayed */

Functions

func GenerateCode

func GenerateCode(c *cli.Context) (err error)

func ParseCoClauseT1

func ParseCoClauseT1(data *CoClauseST, buf *bytes.Buffer) (err error)

func ParseCoClauseT2

func ParseCoClauseT2(data *CoClauseST, buf *bytes.Buffer) (err error)

func ParseTestFuncT

func ParseTestFuncT(data *TestFuncST, buf *bytes.Buffer) (err error)

Types

type CoClauseST

type CoClauseST struct {
	Condition  string
	ResultDesc string
	FuncName   string
	FuncParams string
	Assert     string
	Expected   string
}

type TestFuncST

type TestFuncST struct {
	FuncName     string
	CoClauseList []string
}

Jump to

Keyboard shortcuts

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