test-helpers

Generate engine-specific test helper libraries for Godot, Unity, or Unreal.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/emcconnell/nova-scout --skill test-helpers-emcconnell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-helpers
Source: https://github.com/emcconnell/nova-scout/tree/main/.claude/skills/test-helpers
Command: npx skills add https://github.com/emcconnell/nova-scout --skill test-helpers-emcconnell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Test suites often duplicate the same setup, teardown, object construction, and assertion logic across many files, which wastes developer time and increases maintenance burden. This Skill analyzes existing test patterns and project design documents to produce a coherent tests/helpers/ library tailored to the project's engine and language so teams write fewer repetitive lines and more focused assertions.

Core Features & Use Cases

  • Detects engine, language, and testing framework preferences from project configuration and technical-preferences documentation.
  • Scans existing test files to learn setup patterns, assertion styles, factory usage, and mock/stub conventions.
  • Generates non-destructive, engine-specific base helpers and system-specific factory/assertion helpers for Godot (GDScript/GDUnit4), Unity (C#/NUnit), or Unreal (C++).
  • Honors GDD-derived bounds and formulas when creating assertions and avoids overwriting any existing helper files, asking for confirmation before writing.

Quick Start

Invoke /test-helpers scaffold to create the base helpers in tests/helpers/ for review before generating system-specific helpers.

Frequently Asked Questions about test-helpers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce boilerplate in my Godot GDScript unit tests?

To reduce Godot GDScript test boilerplate, generate engine-specific base helpers and system-specific factories that centralize repetitive setup and assertion logic into a shared tests/helpers/ library. This prevents duplicating object construction and teardown across your test suite.

What is the best way to generate test factories from a Game Design Document?

Generating test factories from a Game Design Document involves scanning your design bounds and formulas to create assertion helpers that automatically align with system requirements. This ensures your tests respect the intended gameplay limits without manual coding for each scenario.

Can I automatically generate test helpers for Unity and Unreal projects?

Yes, you can generate non-destructive test helpers for Unity using C# and NUnit, or Unreal using C++, by detecting your project configuration. The process creates engine-specific base helpers and factories tailored to your testing framework without overwriting existing files.

How do I scaffold a shared test helpers directory without losing existing files?

Scaffolding a shared test helpers directory without losing existing files requires a non-destructive generation approach that writes new base helpers into tests/helpers/ and asks for explicit confirmation before overwriting any existing helper files.

Why does my test suite keep duplicating mock and stub setup across files?

Your test suite duplicates mock and stub setup because it lacks a centralized factory library to manage object construction and teardown conventions. Scanning existing tests allows you to extract these shared patterns into reusable helper files.

Does generating engine-specific test helpers require an existing testing framework?

Generating engine-specific test helpers requires an identified engine like Godot, Unity, or Unreal and existing test files to scan for patterns. The tool detects your preferred testing framework from project configuration to produce matching helpers and factories.