testing-golden-artifacts
Made by JeffGolden artifact test suites that freeze known-good outputs and catch regressions through exact comparison. Use when: snapshot testing, approval testing, compiler output validation, query plan verification, UI snapshots, CLI output regression, or serialization format stability. Supports insta (Rust), jest snapshots, golden file workflows, scrubbing, canonicalization, and multi-format goldens.
Works With
Quality and Utility come from canonical skill metadata. Community ratings appear separately as stars when subscriber reviews exist.
Subscribe to download
Public previews are available, but downloads, CLI sync, and premium content require an active subscription.
Sign In to Subscribe- Full skill content with deterministic versioning
- CLI sync + local search index
- Access to Jeffrey’s premium library
Save to your account
Saved skills live in your cloud list. Run jsm sync on each machine to pull them locally.
What's New with this Skill
1Updates, enhancements, and release notes for this skill.
New skill: Golden Artifact Testing
Freeze known-good outputs as golden files and catch regressions through exact comparison, with scrubbing for timestamps, UUIDs, and other non-deterministic values.
- 6 golden patterns: exact, scrubbed, fuzzy (floating-point), semantic (binary), canonicalized, structural
- Complete insta crate reference: redactions, glob testing, filters, INSTA_UPDATE modes, cargo-insta CLI
- Universal scrubber registry with regex patterns for UUIDs, timestamps, addresses, durations, paths
- Platform canonicalization for cross-OS golden files (line endings, path separators)
- UPDATE_GOLDENS workflow with mandatory diff review before committing
When output is too complex for field-by-field assertions, freeze a known-good output and diff against it forever. This skill covers 6 golden patterns (exact, scrubbed, fuzzy, semantic, canonicalized, structural), the complete insta crate API for Rust (redactions, glob testing, filters, Settings), Vitest toMatchFileSnapshot for TypeScript, and a universal scrubber registry for neutralizing non-deterministic values.