Versions in this module Expand all Collapse all v1 v1.1.0 Sep 28, 2026 v1.0.0 Sep 22, 2026 Changes in this version + const DatlyJobsSchema + type Harness struct + DB *sql.DB + TempDir string + func New(t testing.TB, opts ...Option) *Harness + func (h *Harness) AssertQuery(t testing.TB, ctx context.Context, query Query, expected any) + func (h *Harness) ExecStatements(ctx context.Context, statements ...string) error + func (h *Harness) FaultDB(t testing.TB, before func(context.Context, sqlfault.Call) error) *sql.DB + func (h *Harness) LoadSQLFile(ctx context.Context, path string) error + func (h *Harness) ObserveWrites(t testing.TB, ctx context.Context, table string) *atomic.Int64 + func (h *Harness) ReadQuery(ctx context.Context, query Query, sliceType reflect.Type) (any, error) + type Option func(*config) + func WithDSN(dsn string) Option + type Query struct + Args []any + SQL string