hammer-test-suite-generator

Generate test suite infrastructure for SDL3 HammerEngine systems with CMake integration.

14|2|Updated Mar 24, 2025
One-click install
npx skills add https://github.com/Ronin15/SDL3_HammerEngine_Template --skill hammer-test-suite-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hammer-test-suite-generator
Source: https://github.com/Ronin15/SDL3_HammerEngine_Template/tree/main/.claude/skills/hammer-test-suite-generator
Command: npx skills add https://github.com/Ronin15/SDL3_HammerEngine_Template --skill hammer-test-suite-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually setting up test infrastructure for new systems is time-consuming and error-prone, leading to inconsistent testing practices and delayed feature delivery. This Skill automates the entire scaffolding process.

Core Features & Use Cases

  • Standardized Test Generation: Creates shell scripts, C++ source files for functional and benchmark tests, and integrates them seamlessly into your CMake build system.
  • Master Runner Integration: Automatically updates the project's run_all_tests.sh script to include your new test suites, ensuring they are part of the continuous integration.
  • Documentation & Output Structure: Generates basic test documentation and sets up dedicated output directories for test results, maintaining project organization.
  • Use Case: When adding a new AnimationManager to the SDL3 HammerEngine, use this Skill to instantly scaffold all necessary testing files and integrate them into the build system, ensuring consistent test coverage from day one.

Quick Start

Generate a complete test suite for my new 'SoundSystem' manager, including functional and benchmark tests, and integrate it into CMake.

Frequently Asked Questions about hammer-test-suite-generator

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

FAQPage Schema
How do I automate test suite setup for a new SDL3 HammerEngine system?

Test suite automation generates complete scaffolding for new systems: shell scripts, C++ functional and benchmark tests, CMake integration, and output directories. Run the Skill on your new system or manager to instantly create run_<system>_tests.sh, <system>_tests.cpp, and integrate into your master test runner.

Can I generate both functional and benchmark tests with CMake integration automatically?

Yes. The Skill generates standardized test infrastructure including functional tests, optional benchmark tests, shell script runners, and automatic CMakeLists updates. All files integrate seamlessly into your existing build system.

What files does test scaffolding create for a new manager in HammerEngine?

Test scaffolding creates run_<system>_tests.sh execution scripts, <system>_tests.cpp for functional tests, optional <system>_benchmark.cpp, updates CMakeLists.txt and the master test runner, generates test_results/<system>/ output directories, and produces basic testing documentation.

How does automated test generation maintain consistency across SDL3 projects?

Standardized scaffolding applies a common template pattern to every new system, ensuring consistent test structure, naming conventions, and build integration. Master runner updates guarantee all new test suites participate in continuous integration automatically.

Do I need to manually update the master test runner when adding new systems?

No. The Skill automatically updates run_all_tests.sh and CMake configuration to include your new test suite, eliminating manual integration steps and reducing setup errors.

What's the fastest way to set up testing infrastructure for multiple new HammerEngine managers?

Use test generation to scaffold infrastructure for each manager in sequence. The Skill produces complete, ready-to-run test files with documentation and build system integration, eliminating repetitive manual setup and ensuring uniform coverage.