Documentation ¶
Index ¶
- func ResolveStack(skip int) []string
- type Assertion
- type Describe
- type DetailedReporter
- type Done
- type Failure
- type G
- func (g *G) After(h func())
- func (g *G) AfterEach(h func())
- func (g *G) Assert(src interface{}) *Assertion
- func (g *G) Before(h func())
- func (g *G) BeforeEach(h func())
- func (g *G) Describe(name string, h func())
- func (g *G) Errorf(format string, args ...interface{})
- func (g *G) Fail(error interface{})
- func (g *G) Failf(format string, args ...interface{})
- func (g *G) It(name string, h ...interface{})
- func (g *G) SetReporter(r Reporter)
- func (g *G) Timeout(time time.Duration)
- type It
- type Monochrome
- type Reporter
- type Runnable
- type TerminalFancier
- type TextFancier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveStack ¶
Types ¶
type DetailedReporter ¶
type DetailedReporter struct {
// contains filtered or unexported fields
}
func (*DetailedReporter) SetTextFancier ¶
func (r *DetailedReporter) SetTextFancier(f TextFancier)
type G ¶
type G struct {
// contains filtered or unexported fields
}
func (*G) BeforeEach ¶
func (g *G) BeforeEach(h func())
func (*G) SetReporter ¶
type Monochrome ¶
type Monochrome struct { }
func (*Monochrome) Cyan ¶
func (self *Monochrome) Cyan(text string) string
func (*Monochrome) Gray ¶
func (self *Monochrome) Gray(text string) string
func (*Monochrome) Green ¶
func (self *Monochrome) Green(text string) string
func (*Monochrome) Red ¶
func (self *Monochrome) Red(text string) string
func (*Monochrome) WithCheck ¶
func (self *Monochrome) WithCheck(text string) string
type TerminalFancier ¶
type TerminalFancier struct { }
func (*TerminalFancier) Cyan ¶
func (self *TerminalFancier) Cyan(text string) string
func (*TerminalFancier) Gray ¶
func (self *TerminalFancier) Gray(text string) string
func (*TerminalFancier) Green ¶
func (self *TerminalFancier) Green(text string) string
func (*TerminalFancier) Red ¶
func (self *TerminalFancier) Red(text string) string
func (*TerminalFancier) WithCheck ¶
func (self *TerminalFancier) WithCheck(text string) string
Click to show internal directories.
Click to hide internal directories.