Versions in this module Expand all Collapse all v0 v0.1.1 Mar 26, 2023 Changes in this version + func NewNullable(testFiles *map[string]string) (IC, *NullTester, *atomic.Bool, *cmd.OverridableFlagChecker) + func PrintTable(w io.Writer, table any) error + type DebugStringer interface + DebugString func() string + func DebugWrap(val any) DebugStringer + func DebugWrapNil(val any) DebugStringer + func DebugWrapString(val string) DebugStringer + type IC struct + Writer bytes.Buffer + func New(t testing.TB) *IC + func (ic *IC) ClearReplace() + func (ic *IC) Expect(want string) + func (ic *IC) ExpectAndContinue(want string) + func (ic *IC) PS() + func (ic *IC) PT(val any) + func (ic *IC) PV(val any) + func (ic *IC) PVWN(name string, val any) + func (ic *IC) Print(output ...any) + func (ic *IC) PrintSection(name string) + func (ic *IC) PrintSep() + func (ic *IC) PrintTable(val any) + func (ic *IC) PrintValWithName(name string, val any) + func (ic *IC) PrintVals(val any) + func (ic *IC) Printf(format string, a ...any) + func (ic *IC) PrintfSection(format string, a ...any) + func (ic *IC) Println(output ...any) + func (ic *IC) Replace(regex string, repl string) + type NullTester struct + Exited bool + Failed bool + Output []string + func NewNullTester() *NullTester + func (nt *NullTester) Fail() + func (nt *NullTester) FailNow() + func (nt *NullTester) Helper() + func (nt *NullTester) Log(args ...any) + func (nt *NullTester) Logf(format string, args ...any) + func (nt *NullTester) Reset() + type TT struct + Have T + Name string + Want T + type TestFileUpdater struct + func NewNullableTestFileUpdater(testFiles *map[string]string) (TestFileUpdater, *atomic.Bool, *cmd.OverridableFlagChecker) + func NewTestFileUpdater() TestFileUpdater + func (d TestFileUpdater) Update(ic *IC, got string) + func (d TestFileUpdater) UpdateEnabled() bool + type Tester interface + Fail func() + FailNow func() + Helper func() + Log func(args ...any) + Logf func(format string, args ...any) v0.1.0 Mar 26, 2023