Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Describe func(desc string, wrapper func(It)) = Desc
)
Functions ¶
func AfterEach ¶
func AfterEach(fn BeforeAfterFn)
func BeforeEach ¶
func BeforeEach(fn BeforeAfterFn)
func PrintTestSummary ¶
func PrintTestSummary()
Types ¶
type BeforeAfterFn ¶
type BeforeAfterFn func()
type Expected ¶
type Expected struct {
Scope *Test
Value interface{}
}
func (*Expected) ResponseBody ¶
func (self *Expected) ResponseBody(b interface{})
type FailingLine ¶
type FailingLine struct {
// contains filtered or unexported fields
}
type Test ¶
type Test struct {
Title string
Fn func(Expect)
BeforeEach BeforeAfterFn
AfterEach BeforeAfterFn
}
func (*Test) PrintError ¶
func (*Test) PrintFailingLine ¶
func (test *Test) PrintFailingLine(failingLine *FailingLine)
func (*Test) PrintTitle ¶
Click to show internal directories.
Click to hide internal directories.
