Versions in this module Expand all Collapse all v0 v0.1.0 Jul 29, 2024 Changes in this version + const CategoryExpected + const CategoryGot + const CategoryInput + const ContextRecorderKey + const ContextRecorderTestnameKey + var DefaultOutputDir = os.TempDir() + func AsString(vs ...interface{}) string + func AugmentContext(ctx context.Context, testFilename string) context.Context + func Close(ctx context.Context) + func CloseWait(ctx context.Context) + func Filename(ctx context.Context) string + func FuncFileLine(lvl uint) (string, string, int) + func NewRecorder(dir, filename string) (rcdr.Interface, string, error) + func Record(ctx context.Context, geom interface{}, category string, ...) + func RecordFFLOn(rec Recorder, ffl FuncFileLineType, geom interface{}, category string, ...) + func RecordOn(rec Recorder, geom interface{}, category string, descriptionFormat string, ...) + func SetTestName(ctx context.Context, name string) context.Context + type CategoryFormatter string + func (f CategoryFormatter) String() string + func (f CategoryFormatter) With(data ...interface{}) string + type CategoryJoiner string + func (f CategoryJoiner) String() string + func (f CategoryJoiner) With(data ...interface{}) string + type FuncFileLineType = recdr.FuncFileLineType + func FFL(lvl uint) FuncFileLineType + type Recorder struct + Desc TestDescription + Filename string + func AugmentRecorder(rec Recorder, testFilename string) (Recorder, bool) + func GetRecorderFromContext(ctx context.Context) Recorder + func (rec Recorder) AsyncRecord(geom interface{}, ffl FuncFileLineType, desc TestDescription) + func (rec Recorder) Close() error + func (rec Recorder) CloseWait() error + func (rec Recorder) Closed() bool + func (rec Recorder) IncrementCount() + func (rec Recorder) IsValid() bool + func (rec Recorder) Record(geom interface{}, ffl FuncFileLineType, desc TestDescription) error + type TestDescription = recdr.TestDescription