test-helpers

Generate engine-specific test helper libraries into tests/helpers/ without overwriting existing files.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/scomofo/dragon-forge --skill test-helpers-scomofo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-helpers
Source: https://github.com/scomofo/dragon-forge/tree/main/.agents/skills/test-helpers
Command: npx skills add https://github.com/scomofo/dragon-forge --skill test-helpers-scomofo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing and maintaining repetitive test setup and assertions slows down development and makes test suites inconsistent across systems.

Core Features & Use Cases

  • Scaffold reusable test helper libraries: Automatically creates a tests/helpers/ directory with assertion utilities, factory helpers, and scene runner helpers aligned to the project’s actual test style.
  • Adapt to the configured engine and framework: Detects engine/language/testing framework preferences and generates helpers accordingly (with Godot/GDScript examples in the plan).
  • Minimize boilerplate and improve readability: Produces helpers based on scanning existing tests to match established patterns for setup, mocks, object creation, and assertions.

Quick Start

Run the command: /test-helpers scaffold to generate the base helper library on the first run.

Frequently Asked Questions about test-helpers

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

FAQPage Schema
How do I reduce repetitive test scaffolding and assertion boilerplate in GDScript?

Test scaffolding boilerplate is reduced by generating engine-specific helper libraries that match existing test patterns. The tool scans your tests to create consistent factory mocks and assertion utilities in a helpers directory.

Can I generate test helpers for Godot without overwriting my existing utility files?

Yes, you can generate test helpers for Godot without overwriting existing files. The system outputs new scaffolding, factories, and assertion utilities into the tests/helpers/ directory while preserving any established helper code.

How do I scaffold a reusable test helper library for unit and integration testing?

You scaffold a reusable test helper library by running a scaffold command to generate the base structure. This creates assertion utilities, factory mocks, and scene runner helpers aligned to your project's testing framework.

Does this test helper generator support detecting specific engine and testing framework preferences?

Yes, the test helper generator supports detecting engine and testing framework preferences. It parses your configuration to generate appropriate helpers, providing Godot and GDScript examples for unit and integration test scenarios.

What is the best way to create consistent factory mocks across multiple game systems?

Consistent factory mocks are created by scanning existing tests for established patterns and expanding system-specific helpers. You can target specific systems or generate helpers for all systems to ensure uniform setup and object creation.