generate-unit-pure-tests
CommunityGenerate portable unit tests for business rules
Software Engineering#vitest#unit testing#test generation#jest#business rules#pure logic#portable tests
Authorkapilvirenahuja
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Generate reliable unit tests for complex, non-trivial business rules without coupling them to a specific framework, so the test suite stays valid across stack migrations.
Core Features & Use Cases
- Pure vs stack-coupled classification: Separates portable business logic from framework-embedded behavior to avoid brittle tests.
- Rule-level test generation: Creates one test file per extracted pure unit, covering scenarios and edge cases described in the behavior spec.
- Deterministic, tiered testing discipline: Ensures newly generated unit-pure tests focus on functional correctness and records stack-coupled exclusions as cited_existing references instead of generating wrong-tier tests.
- Framework harness selection: Detects the unit test framework from the provided test harness (for example, Jest/Vitest style conventions).
Quick Start
Use the generate-unit-pure-tests skill to produce portable unit test files from a featureās behavior specification by ensuring the relevant rules are classified as pure business logic and locating the smallest importable pure unit to test.
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: generate-unit-pure-tests Download link: https://github.com/kapilvirenahuja/garura/archive/main.zip#generate-unit-pure-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 471,000+ vetted skills library on demand.