snapshot-testing
CommunityCapture and approve UI and API outputs with ease.
AuthorAaronontheweb
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps .NET developers validate outputs by capturing snapshots and verifying them against approved baselines, reducing manual review and preventing regressions in UI, API responses, and serialized data.
Core Features & Use Cases
- Snapshot creation & verification: Generate .received files during tests and compare them to .verified baselines.
- Framework compatibility: Works with Verify.Xunit, Verify.NUnit, and Verify.MSTest to fit common .NET testing stacks.
- CI-friendly: Integrates with CI to fail on unapproved changes and stream diffs for quick review.
- Use Case: Validate that a rendered email template remains visually and structurally consistent across code changes.
Quick Start
- Add Verify packages to your test project (e.g., Verify.Xunit, Verify.NUnit, or Verify.MSTest).
- Configure a ModuleInitializer to set up project-relative snapshot directories and scrub dynamic values as needed.
- Run tests to generate .received files, review diffs, and commit the resulting .verified files to source control.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: snapshot-testing Download link: https://github.com/Aaronontheweb/dotnet-skills/archive/main.zip#snapshot-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.