Versions in this module Expand all Collapse all v0 v0.1.0 Dec 16, 2023 Changes in this version + func NewSlogStabilizer(tb testing.TB) func([]string, slog.Attr) slog.Attr + func ReadFile(tb testing.TB, pathElems ...string) []byte + func Stabilize(tb testing.TB, data []byte) []byte + func WriteFile(tb testing.TB, data []byte, pathElems ...string) + type ErrorAssertion func(testing.TB, error) bool + func AssertErrorContains(substr string) ErrorAssertion + func AssertErrorIs(target error) ErrorAssertion + func RequireErrorContains(substr string) ErrorAssertion + func RequireErrorIs(target error) ErrorAssertion + type Golden struct + func NewGolden(tb testing.TB) *Golden + func (g *Golden) AssertMatch(got any) + func (g *Golden) RequireMatch(got any)