Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrTimeout = errors.New("Timeout")
)
Functions ¶
This section is empty.
Types ¶
type Debugger ¶
type Debugger struct {
// contains filtered or unexported fields
}
func NewDebugger ¶
func NewDebugger() *Debugger
func (*Debugger) Run ¶
func (d *Debugger) Run(node ast.Node) interpreter.DebugState
type TestCase ¶
func (*TestCase) MarshalJSON ¶
type TestCounter ¶
type TestCounter struct { Asserts int `json:"asserts"` Passes int `json:"passes"` Fails int `json:"fails"` }
func NewTestCounter ¶
func NewTestCounter() *TestCounter
func (*TestCounter) Fail ¶
func (c *TestCounter) Fail()
func (*TestCounter) Pass ¶
func (c *TestCounter) Pass()
type TestFactory ¶
type TestFactory struct { Results []*TestResult Statistics *TestCounter Logs []string }
type TestResult ¶
type TestResult struct { Filename string `json:"file"` Cases []*TestCase `json:"suites"` Lexer *lexer.Lexer `json:"-"` }
func (*TestResult) IsPassed ¶
func (t *TestResult) IsPassed() bool
Click to show internal directories.
Click to hide internal directories.