approval-tests
CommunityWrite tests that write themselves.
Software Engineering#testing#test automation#regression testing#code verification#snapshot testing#golden master
Authorfcnatra
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation and maintenance of complex tests by comparing output against pre-approved "golden master" files, significantly reducing the effort required for writing and updating assertions.
Core Features & Use Cases
- Snapshot Testing: Captures complex output once, approves it, and automatically compares future runs against the approved version.
- Characterization Testing: Quickly snapshot the behavior of legacy code before refactoring.
- Combinatorial Testing: Test all input combinations exhaustively without writing individual tests for each case.
- Use Case: When testing a function that generates a detailed HTML report, instead of writing dozens of assertions for specific elements, you can use Approval Tests to capture the entire HTML output, review it, approve it, and then ensure any future changes to the report generation logic are immediately flagged.
Quick Start
Use the approval-tests skill to verify the output of the generate_report function.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: approval-tests Download link: https://github.com/fcnatra/VibeCoding/archive/main.zip#approval-tests 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 223,000+ vetted skills library on demand.