MCPcopy Create free account
hub / github.com/pace/bricks / FailNow

Method FailNow

test/livetest/test_proxy.go:74–77  ·  view source on GitHub ↗

FailNow marks the test as failed and skips further execution

()

Source from the content-addressed store, hash-verified

72
73// FailNow marks the test as failed and skips further execution
74func (t *T) FailNow() {
75 t.Fail()
76 panic(ErrFailNow)
77}
78
79// Failed returns true if the test was marked as failed
80func (t *T) Failed() bool {

Callers 4

FatalMethod · 0.95
FatalfMethod · 0.95
ExampleTestFunction · 0.80
TestIntegrationExampleFunction · 0.80

Calls 1

FailMethod · 0.95

Tested by 2

ExampleTestFunction · 0.64
TestIntegrationExampleFunction · 0.64