writing-tests-against-stubs
CommunityEnsure test coverage and proper implementation of stubs
Software Engineering#TDD#test-driven development#acceptance criteria#property-based testing#stub testing
AuthorTK-Evans01
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill ensures that tests against stubs are written correctly, covering all acceptance criteria and failing with the expected unimplemented marker, thereby promoting effective test-driven development (TDD) practices.
Core Features & Use Cases
- Strict Test Verification: Enforces that tests fail with the unimplemented marker, ensuring proper testing against stubs.
- Acceptance Criterion Coverage: Ensures that every acceptance criterion from the design doc has a corresponding test.
- Property-Based Testing: Encourages the use of property-based testing for pure functions to ensure robustness.
Quick Start
Run all tests for the 'normalize_email' function to verify that they fail with the unimplemented marker.
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: writing-tests-against-stubs Download link: https://github.com/TK-Evans01/tk-harness/archive/main.zip#writing-tests-against-stubs 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 620,000+ vetted skills library on demand.