What problem does it solve?
Writing repetitive test setup, assertions, factories, and mocks slows down development and leads to inconsistent test style across the project.
Core Features & Use Cases
- Engine-aware helper generation: Detects the configured engine, language, and testing framework, then creates helpers that match the project’s test ecosystem.
- Pattern-aligned scaffolding: Scans existing tests to mirror the repository’s current setup/teardown, assertion, object creation, and mocking conventions.
- System-specific factories: Optionally generates per-system helper factories based on in-scope GDD/system definitions so new tests start with correct domain structure.
- Run-mode options: Supports generating for a specific system, all systems, or scaffolding only the base helper library.
- Safety-oriented behavior: Never overwrites existing helper files; it reports and skips any files that already exist.
Quick Start
Run /test-helpers scaffold to create the base tests/helpers library if it does not exist yet.