Versions in this module Expand all Collapse all v1 v1.0.3 May 18, 2023 Changes in this version + func List(suite interface{}, runConf *RunConf) []string + func ListAll(runConf *RunConf) []string + func Run(t *testing.T, suite interface{}, runConf *RunConf) + func RunAll(t *testing.T, runConf *RunConf) + func Suite(suite interface{}) interface + func TestingT(testingT *testing.T) + type C struct + func (c *C) Assert(obtained interface{}, checker Checker, args ...interface{}) + func (c *C) Check(obtained interface{}, checker Checker, args ...interface{}) bool + func (c *C) Error(args ...interface{}) + func (c *C) Errorf(format string, args ...interface{}) + func (c *C) ExpectFailure(reason string) + func (c *C) Fail() + func (c *C) FailNow() + func (c *C) Failed() bool + func (c *C) Fatal(args ...interface{}) + func (c *C) Fatalf(format string, args ...interface{}) + func (c *C) GetTestLog() string + func (c *C) Log(args ...interface{}) + func (c *C) Logf(format string, args ...interface{}) + func (c *C) MkDir() string + func (c *C) Output(calldepth int, s string) error + func (c *C) ResetTimer() + func (c *C) SetBytes(n int64) + func (c *C) StartTimer() + func (c *C) StopTimer() + func (c *C) Succeed() + func (c *C) SucceedNow() + func (c *C) TestName() string + type Checker interface + Check func(params []interface{}, names []string) (result bool, error string) + Info func() *CheckerInfo + var DeepEquals Checker = &deepEqualsChecker{ ... } + var Equals Checker = &equalsChecker{ ... } + var ErrorMatches Checker = errorMatchesChecker{ ... } + var FitsTypeOf Checker = &fitsTypeChecker{ ... } + var HasLen Checker = &hasLenChecker{ ... } + var Implements Checker = &implementsChecker{ ... } + var IsNil Checker = &isNilChecker{ ... } + var Matches Checker = &matchesChecker{ ... } + var NotNil Checker = ¬NilChecker{ ... } + var PanicMatches Checker = &panicMatchesChecker{ ... } + var Panics Checker = &panicsChecker{ ... } + func Not(checker Checker) Checker + type CheckerInfo struct + Name string + Params []string + func (info *CheckerInfo) Info() *CheckerInfo + type CommentInterface interface + CheckCommentString func() string + func Commentf(format string, args ...interface{}) CommentInterface + type Result struct + ExpectedFailures int + Failed int + FixturePanicked int + Missed int + Panicked int + RunError error + Skipped int + Succeeded int + WorkDir string + func (r *Result) Add(other *Result) + func (r *Result) Passed() bool + func (r *Result) String() string + type RunConf struct + Benchmark bool + BenchmarkMem bool + BenchmarkTime time.Duration + Filter string + KeepWorkDir bool + Output io.Writer + Stream bool + Verbose bool