Documentation ¶
Index ¶
- type GSpec
- func (gs *GSpec) AssertAndFailNow(assertion bool, expected string, actual interface{})
- func (gs *GSpec) CheckMark(format string, args ...interface{})
- func (gs *GSpec) Expect(expect func())
- func (gs *GSpec) Given(inputs ...string)
- func (gs *GSpec) Then()
- func (gs *GSpec) When(operation string)
- func (gs *GSpec) XMark(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GSpec ¶
type GSpec struct {
// contains filtered or unexported fields
}
GSpec test log formatting that's similar to RSpec
func (*GSpec) AssertAndFailNow ¶
AssertAndFailNow checks for .Error()assertion and fails now if not true
Click to show internal directories.
Click to hide internal directories.