MCPcopy Index your code

hub / github.com/franela/goblin / functions

Functions163 in github.com/franela/goblin

↓ 81 callersMethodIt
(name string, h ...interface{})
goblin.go:287
↓ 62 callersMethodAssert
(src interface{})
goblin.go:346
↓ 61 callersMethodDescribe
(name string, h func())
goblin.go:24
↓ 45 callersMethodEqual
Equal takes a destination object and asserts that a source object and destination object are equal to one another. It will fail the assertion and prin
assertions.go:65
↓ 40 callersFunctionGoblin
(t *testing.T, arguments ...string)
goblin.go:204
↓ 35 callersMethodVerify
(t *testing.T)
assertions_test.go:24
↓ 17 callersMethodIsZero
IsZero asserts that source is a zero value for its respective type. If it is a structure, for example, all of its fields must have their respective ze
assertions.go:118
↓ 15 callersMethodIsNotZero
IsNotZero asserts the contrary of IsZero.
assertions.go:129
↓ 11 callersMethodBeforeEach
(h func())
goblin.go:330
↓ 10 callersMethodAfterEach
(h func())
goblin.go:342
↓ 10 callersMethodFail
(error interface{})
goblin.go:377
↓ 9 callersMethodFailNow
()
goblin.go:382
↓ 9 callersFunctionverifyFormat
Verify that a slice of messages is formatted as expected.
assertions_test.go:38
↓ 8 callersMethodBefore
(h func())
goblin.go:326
↓ 8 callersFunctionformatMessages
Format series of messages provided to an assertion. Separate messages from the preamble of assertion with a comma and concatenate messages using spac
assertions.go:36
↓ 7 callersMethodAfter
(h func())
goblin.go:338
↓ 7 callersMethodVerifyMessage
(t *testing.T, message string)
assertions_test.go:30
↓ 6 callersMethodFatalf
(format string, args ...interface{})
goblin.go:391
↓ 6 callersMethodSetReporter
(r Reporter)
goblin.go:283
↓ 5 callersMethodIsNil
IsNil asserts that source is nil.
assertions.go:95
↓ 5 callersMethodIsNotNil
IsNotNil asserts that source is not nil.
assertions.go:104
↓ 5 callersMethodIsTrue
IsTrue asserts that a source is equal to true. Optional messages can be provided for inclusion in the displayed message if the assertion fails. It wil
assertions.go:75
↓ 5 callersFunctionobjectsAreEqual
(a, b interface{})
assertions.go:16
↓ 4 callersMethodEql
Eql is a shorthand alias of Equal for convenience
assertions.go:58
↓ 4 callersMethodJustBeforeEach
(h func())
goblin.go:334
↓ 4 callersMethodXit
(name string, h ...interface{})
goblin.go:301
↓ 4 callersMethoderrorCommon
(msg string, fatal bool)
goblin.go:358
↓ 4 callersFunctionparseFlags
()
goblin.go:188
↓ 4 callersMethodprint
(text string)
reporting.go:80
↓ 3 callersMethodGray
(text string)
reporting.go:26
↓ 3 callersMethodIsFalse
IsFalse asserts that a source is equal to false. Optional messages can be provided for inclusion in the displayed message if the assertion fails. It w
assertions.go:86
↓ 3 callersMethodRed
(text string)
reporting.go:25
↓ 2 callersMethodCyan
(text string)
reporting.go:27
↓ 2 callersFunctionResolveStack
(skip int)
resolver.go:8
↓ 2 callersMethodYellow
(text string)
reporting.go:29
↓ 2 callersMethodgetSpace
()
reporting.go:72
↓ 2 callersFunctionmatchesRegex
(value string)
goblin.go:312
↓ 2 callersFunctionnotifyParents
(d *Describe)
goblin.go:319
↓ 2 callersMethodrunAfterEach
()
goblin.go:84
↓ 2 callersMethodrunBeforeEach
()
goblin.go:64
↓ 2 callersMethodrunJustBeforeEach
()
goblin.go:74
↓ 2 callersFunctiontimeTrack
(g *G, call func())
goblin.go:350
↓ 1 callersMethodBegin
()
reporting.go:14
↓ 1 callersMethodBeginDescribe
(string)
reporting.go:12
↓ 1 callersMethodEnd
()
reporting.go:15
↓ 1 callersMethodEndDescribe
()
reporting.go:13
↓ 1 callersMethodErrorf
(format string, args ...interface{})
goblin.go:396
↓ 1 callersMethodFailf
(format string, args ...interface{})
goblin.go:386
↓ 1 callersMethodFailure
(*Failure)
reporting.go:16
↓ 1 callersMethodGreen
(text string)
reporting.go:28
↓ 1 callersMethodItFailed
(string)
reporting.go:18
↓ 1 callersMethodItIsExcluded
(string)
reporting.go:21
↓ 1 callersMethodItIsPending
(string)
reporting.go:20
↓ 1 callersMethodItPassed
(string)
reporting.go:19
↓ 1 callersMethodItTook
(time.Duration)
reporting.go:17
↓ 1 callersMethodTimeout
(time time.Duration)
goblin.go:46
↓ 1 callersMethodWithCheck
(text string)
reporting.go:30
↓ 1 callersFunctioncleanStack
(stack []byte, skip int)
resolver.go:12
↓ 1 callersFunctiondummyFunc
(g *G)
resolver_test.go:17
↓ 1 callersMethodfailed
(string, []string)
goblin.go:21
↓ 1 callersMethodprintWithCheck
(text string)
reporting.go:84
↓ 1 callersMethodrun
(*G)
goblin.go:20
↓ 1 callersMethodrun
(g *G)
goblin.go:95
↓ 1 callersFunctionrunIt
(g *G, it *It)
goblin.go:221
MethodBegin
()
reporting_test.go:59
MethodBegin
()
reporting.go:125
MethodBeginDescribe
(name string)
reporting_test.go:24
MethodBeginDescribe
(name string)
reporting.go:88
MethodCyan
(text string)
mono_reporter.go:16
MethodCyan
(text string)
reporting.go:56
MethodEnd
()
reporting_test.go:63
MethodEnd
()
reporting.go:128
MethodEndDescribe
()
reporting_test.go:28
MethodEndDescribe
()
reporting.go:94
MethodFailFunc
(msg interface{})
assertions_test.go:19
MethodFailure
(failure *Failure)
reporting_test.go:32
MethodFailure
(failure *Failure)
reporting.go:76
MethodGray
(text string)
mono_reporter.go:12
MethodGray
(text string)
reporting.go:52
MethodGreen
(text string)
mono_reporter.go:24
MethodGreen
(text string)
reporting.go:60
MethodHelper
()
goblin.go:401
MethodItFailed
(name string)
reporting_test.go:36
MethodItFailed
(name string)
reporting.go:105
MethodItIsExcluded
(name string)
reporting_test.go:48
MethodItIsExcluded
(name string)
reporting.go:120
MethodItIsPending
(name string)
reporting_test.go:44
MethodItIsPending
(name string)
reporting.go:115
MethodItPassed
(name string)
reporting_test.go:40
MethodItPassed
(name string)
reporting.go:110
MethodItTook
(duration time.Duration)
reporting_test.go:52
MethodItTook
(duration time.Duration)
reporting.go:98
MethodRed
(text string)
mono_reporter.go:8
MethodRed
(text string)
reporting.go:48
MethodSetTextFancier
(f TextFancier)
reporting.go:41
FunctionTestAddNumbersFails
(t *testing.T)
goblin_test.go:121
FunctionTestAddNumbersSucceed
(t *testing.T)
goblin_test.go:105
FunctionTestAfter
(t *testing.T)
describe_test.go:92
FunctionTestAfterEach
(t *testing.T)
it_test.go:92
FunctionTestAsync
(t *testing.T)
goblin_test.go:11
next →1–100 of 163, ranked by callers