Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Suite ¶
type Suite struct { suite.Suite Logger *logrus.Logger LoggerHook *test.Hook Metrics *prometheus.Metrics }
Suite is an extension of github.com/stretchr/testify/suite.Suite
func (*Suite) AssertNoLogsWithLevelOrHigher ¶
AssertNoLogsWithLevelOrHigher check that there are now log entries witch or of the given level or higher For example `AssertNoLogsWithLevelOrHigher(logrus.ErrorLevel)` will assert that no log entries with level error, fatal or panic where recorded.
func (*Suite) GetLogger ¶
func (s *Suite) GetLogger() goengine.Logger
GetLogger return a log.Logger based o the suites logger
Click to show internal directories.
Click to hide internal directories.