generate-tests

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of C++ unit and functional tests directly from Product Requirements Documents (PRDs) or Technical Documentation, ensuring comprehensive test coverage with minimal manual effort.

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 unit and functional tests, saving the developer significant time and ensuring adherence to testing standards.

Quick Start

Use the generate-tests skill to create C++ tests for the 'charged-attack.md' feature 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?

Generating C++ tests from a PRD for Unreal Engine involves feeding the specification document to the tool, which then intelligently detects target systems like Combat or GAS and outputs structured unit and functional tests.

Can I automatically generate integration and performance tests for Unreal Engine C++?

Yes, you can automatically generate integration and performance tests for Unreal Engine C++ by enabling optional generation features, which create the additional test files alongside standard unit tests at specified output paths.

How does automated test generation identify target systems like GAS and AI in Unreal Engine?

Automated test generation identifies target systems like GAS and AI in Unreal Engine by analyzing the provided Product Requirements Documents or Technical Documentation, matching described behaviors to predefined system categories for accurate test placement.

Does this automated test generation support unit tests for Unreal Engine Gameplay Ability System specifications?

Yes, this automated test generation supports unit tests for Unreal Engine Gameplay Ability System specifications by reading the technical documentation and producing structured C++ test files adhering to defined naming conventions.

What is the best way to create functional tests from technical documentation for C++ projects?

The best way to create functional tests from technical documentation for C++ projects is using automated generation tools that parse specs, detect systems like UI or Combat, and output tests following a standardized naming convention.