test-from-spec
CommunityGenerate comprehensive tests from specs, before coding.
Software Engineering#unit tests#TDD#integration tests#specification#test generation#edge cases#E2E tests
Authorastrosteveo
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation of thorough test suites directly from specifications, ensuring complete coverage and enabling a true Test-Driven Development (TDD) workflow before any implementation code is written. It eliminates the manual effort of writing boilerplate tests.
Core Features & Use Cases
- TDD-First Test Generation: Creates unit, integration, and E2E tests based on acceptance criteria and edge case taxonomy, all designed to fail initially, providing a clear definition of "done."
- Comprehensive Coverage: Systematically covers all specified requirements and potential failure scenarios, including boundary, security, concurrency, state, and performance edge cases.
- Fixture & Mock Generation: Automatically generates necessary test data and mocks from data models defined in the specification, streamlining test setup.
- Use Case: A developer is about to start a new feature. They use this Skill with their
SPEC.mdto instantly generate a full suite of failing tests. This provides a clear definition of "done" and guides their implementation, ensuring every requirement is met and every edge case is considered.
Quick Start
Trigger the skill to generate tests from a specification file
Trigger: generate tests for SPEC-AUTH-001.md
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: test-from-spec Download link: https://github.com/astrosteveo/sdd-framework/archive/main.zip#test-from-spec 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.