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

Method Errorf

test/livetest/test_proxy.go:60–63  ·  view source on GitHub ↗

Errorf logs an error message with the test

(format string, args ...interface{})

Source from the content-addressed store, hash-verified

58
59// Errorf logs an error message with the test
60func (t *T) Errorf(format string, args ...interface{}) {
61 log.Ctx(t.ctx).Error().Msgf(format, args...)
62 t.Fail()
63}
64
65// Fail marks the test as failed
66func (t *T) Fail() {

Callers 15

mainFunction · 0.80
AuthorizeUnaryMethod · 0.80
AddMethod · 0.80
SubstractMethod · 0.80
NewPodStateSetterFunction · 0.80
NewCustomStateSetterFunction · 0.80
WithCustomStateSetterFunction · 0.80
WithPodStateSetterFunction · 0.80
NewActivePassiveFunction · 0.80
Test_isPrivateFunction · 0.80
TestHideFunction · 0.80
createBreadcrumbFunction · 0.80

Calls 3

FailMethod · 0.95
CtxFunction · 0.92
ErrorMethod · 0.45

Tested by 15

Test_isPrivateFunction · 0.64
TestHideFunction · 0.64
TestHandlerFunction · 0.64
Test_createBreadcrumbFunction · 0.64
TestHandlerFunction · 0.64
TestMetricFunction · 0.64
checkResultFunction · 0.64
TestServerFunction · 0.64
TestEnvironmentFunction · 0.64
TestCustomRoutesFunction · 0.64
CheckForPaceAppMethod · 0.64
GetAppsMethod · 0.64