Versions in this module Expand all Collapse all v0 v0.0.1 Dec 10, 2022 Changes in this version + func Run(t *testing.T, s TestingSuite) + type Assertions struct + func (a *Assertions) Empty(actual any, messageAndArgs ...any) + func (a *Assertions) Equal(expected, actual any, messageAndArgs ...any) + func (a *Assertions) EqualOpt(options []cmp.Option, expected, actual any, messageAndArgs ...any) + func (a *Assertions) Error(expected any, actual error, messageAndArgs ...any) + func (a *Assertions) Fail(message string, messageAndArgs ...any) + func (a *Assertions) False(actual bool, messageAndArgs ...any) + func (a *Assertions) Len(n int, actual any, messageAndArgs ...any) + func (a *Assertions) Match(matcher match.Matcher, actual any, messageAndArgs ...any) + func (a *Assertions) Nil(actual any, messageAndArgs ...any) + func (a *Assertions) NoError(actual error, messageAndArgs ...any) + func (a *Assertions) NotEqual(expected, actual any, messageAndArgs ...any) + func (a *Assertions) NotEqualOpt(options []cmp.Option, expected, actual any, messageAndArgs ...any) + func (a *Assertions) NotNil(actual any, messageAndArgs ...any) + func (a *Assertions) Regexp(regexp, actual any, messageAndArgs ...any) + func (a *Assertions) True(actual bool, messageAndArgs ...any) + type OrderlessZap interface + type Suite struct + S *ourSuite + func (s *Suite) Run(name string, subtest func()) bool + func (s *Suite) SetSelf(self TestingSuite) TestingSuite + func (s *Suite) SetT(t *testing.T) + func (s *Suite) SetupSuite() + func (s *Suite) SetupTest() + func (s *Suite) T() *testing.T + func (s *Suite) TearDownTest() + type TestifyInterface interface + Contains func(t TestingT, s interface{}, contains interface{}, msgAndArgs ...interface{}) + DirExists func(t TestingT, path string, msgAndArgs ...interface{}) + ElementsMatch func(t TestingT, listA interface{}, listB interface{}, msgAndArgs ...interface{}) + Empty func(t TestingT, object interface{}, msgAndArgs ...interface{}) + Equal func(t TestingT, expected interface{}, actual interface{}, ...) + EqualError func(t TestingT, theError error, errString string, msgAndArgs ...interface{}) + EqualValues func(t TestingT, expected interface{}, actual interface{}, ...) + Error func(t TestingT, err error, msgAndArgs ...interface{}) + ErrorAs func(t TestingT, err error, target interface{}, msgAndArgs ...interface{}) + ErrorContains func(t TestingT, theError error, contains string, msgAndArgs ...interface{}) + ErrorIs func(t TestingT, err error, target error, msgAndArgs ...interface{}) + Eventually func(t TestingT, condition func() bool, waitFor time.Duration, tick time.Duration, ...) + Exactly func(t TestingT, expected interface{}, actual interface{}, ...) + Fail func(t TestingT, failureMessage string, msgAndArgs ...interface{}) + FailNow func(t TestingT, failureMessage string, msgAndArgs ...interface{}) + False func(t TestingT, value bool, msgAndArgs ...interface{}) + Greater func(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface{}) + GreaterOrEqual func(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface{}) + Implements func(t TestingT, interfaceObject interface{}, object interface{}, ...) + InDelta func(t TestingT, expected interface{}, actual interface{}, delta float64, ...) + InDeltaMapValues func(t TestingT, expected interface{}, actual interface{}, delta float64, ...) + InDeltaSlice func(t TestingT, expected interface{}, actual interface{}, delta float64, ...) + InEpsilon func(t TestingT, expected interface{}, actual interface{}, epsilon float64, ...) + InEpsilonSlice func(t TestingT, expected interface{}, actual interface{}, epsilon float64, ...) + IsDecreasing func(t TestingT, object interface{}, msgAndArgs ...interface{}) + IsIncreasing func(t TestingT, object interface{}, msgAndArgs ...interface{}) + IsNonDecreasing func(t TestingT, object interface{}, msgAndArgs ...interface{}) + IsNonIncreasing func(t TestingT, object interface{}, msgAndArgs ...interface{}) + IsType func(t TestingT, expectedType interface{}, object interface{}, ...) + Len func(t TestingT, object interface{}, length int, msgAndArgs ...interface{}) + Less func(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface{}) + LessOrEqual func(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface{}) + Negative func(t TestingT, e interface{}, msgAndArgs ...interface{}) + Never func(t TestingT, condition func() bool, waitFor time.Duration, tick time.Duration, ...) + Nil func(t TestingT, object interface{}, msgAndArgs ...interface{}) + NoError func(t TestingT, err error, msgAndArgs ...interface{}) + NotContains func(t TestingT, s interface{}, contains interface{}, msgAndArgs ...interface{}) + NotEmpty func(t TestingT, object interface{}, msgAndArgs ...interface{}) + NotEqual func(t TestingT, expected interface{}, actual interface{}, ...) + NotEqualValues func(t TestingT, expected interface{}, actual interface{}, ...) + NotErrorIs func(t TestingT, err error, target error, msgAndArgs ...interface{}) + NotNil func(t TestingT, object interface{}, msgAndArgs ...interface{}) + NotPanics func(t TestingT, f assert.PanicTestFunc, msgAndArgs ...interface{}) + NotRegexp func(t TestingT, rx interface{}, str interface{}, msgAndArgs ...interface{}) + NotSame func(t TestingT, expected interface{}, actual interface{}, ...) + NotSubset func(t TestingT, list interface{}, subset interface{}, msgAndArgs ...interface{}) + NotZero func(t TestingT, i interface{}, msgAndArgs ...interface{}) + Panics func(t TestingT, f assert.PanicTestFunc, msgAndArgs ...interface{}) + PanicsWithError func(t TestingT, errString string, f assert.PanicTestFunc, ...) + PanicsWithValue func(t TestingT, expected interface{}, f assert.PanicTestFunc, ...) + Positive func(t TestingT, e interface{}, msgAndArgs ...interface{}) + Regexp func(t TestingT, rx interface{}, str interface{}, msgAndArgs ...interface{}) + Same func(t TestingT, expected interface{}, actual interface{}, ...) + Subset func(t TestingT, list interface{}, subset interface{}, msgAndArgs ...interface{}) + True func(t TestingT, value bool, msgAndArgs ...interface{}) + Zero func(t TestingT, i interface{}, msgAndArgs ...interface{}) + type TestingSuite interface + SetSelf func(self TestingSuite) TestingSuite + type TestingT interface + Helper func() + type Zap struct + func NewZap(t TestingT) *Zap + func (z *Zap) Assert(name string) *zapEntryAssert + func (z *Zap) AssertNamed(name string, level zapcore.Level, message any, ctxKeyAndValues ...any) *Zap + func (z *Zap) AssertNext(level zapcore.Level, message any, ctxKeyAndValues ...any) *Zap + func (z *Zap) AssertNoNextEntry() + func (z *Zap) Debug(message ...any) *zapEntryAssert + func (z *Zap) Error(message ...any) *zapEntryAssert + func (z *Zap) Fatal(message ...any) *zapEntryAssert + func (z *Zap) Get() *zap.Logger + func (z *Zap) GetAt(level zapcore.Level) *zap.Logger + func (z *Zap) IgnoreMissingContext(partial ...bool) *Zap + func (z *Zap) Info(message ...any) *zapEntryAssert + func (z *Zap) MayContainMoreEntries() + func (z *Zap) ObservedLogs() *observer.ObservedLogs + func (z *Zap) Orderless(orderless ...bool) *Zap + func (z *Zap) Panic(message ...any) *zapEntryAssert + func (z *Zap) SkipNext(n ...int) *Zap + func (z *Zap) Use(logger *zap.Logger, observedLogs *observer.ObservedLogs) *Zap + func (z *Zap) Warn(message ...any) *zapEntryAssert