generate-tests

Generate C++ unit and functional tests from PRD or TechDoc specifications for Unreal Engine projects.

1|1|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/sipherxyz/universal-ue-skills --skill generate-tests-sipherxyz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-tests
Source: https://github.com/sipherxyz/universal-ue-skills/tree/main/skills/generate-tests
Command: npx skills add https://github.com/sipherxyz/universal-ue-skills --skill generate-tests-sipherxyz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of C++ unit and functional tests directly from Product Requirement Documents (PRDs) or Technical Documentation, significantly speeding up the testing phase of software development.

Core Features & Use Cases

  • Automated Test Generation: Creates C++ unit, functional, integration, and performance tests based on provided specifications.
  • System Detection: Intelligently identifies the target Unreal Engine system (e.g., Combat, AI, GAS, UI) to ensure tests are placed correctly.
  • Use Case: When a new combat ability is defined in a PRD, this Skill can generate all necessary C++ test files, including unit tests for damage calculations and functional tests for ability activation, directly into the project's test directory.

Quick Start

Use the generate-tests skill to create C++ tests for the 'charged-attack.md' specification.

Frequently Asked Questions about generate-tests

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

FAQPage Schema
How do I generate C++ tests from a PRD for Unreal Engine?

To generate C++ tests from a PRD, provide the specification document to the automated test generator. It reads the requirements and outputs unit and functional test files directly into your project's designated test directories.

Can I automatically create unit tests for Unreal Engine Gameplay Ability System specs?

Yes, the system detection feature identifies target Unreal Engine frameworks like GAS, Combat, AI, and UI. It automatically determines the appropriate output locations and test structures for your generated C++ tests.

How do I generate performance and integration tests from technical documentation?

You can generate performance and integration tests by specifying the desired output paths during generation. The tool reads your technical documentation and creates these additional test structures alongside standard unit tests.

Does this tool support dry-run previews before writing generated C++ test files?

Yes, the generator supports dry-run previews. You can review the proposed C++ unit and functional tests based on your specifications before the files are actually written to your Unreal Engine project directories.

What is the best way to automate QA test creation for Unreal Engine C++ projects?

Automating QA test creation is best handled by generating C++ tests directly from Product Requirement Documents or Technical Documentation. This approach translates written specifications into structured unit and functional tests automatically.