test-setup

Scaffold engine-specific test infrastructure and CI workflows for Godot, Unity, or Unreal.

72|7|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/striderZA/OpenCodeGameStudios --skill test-setup-striderza
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-setup
Source: https://github.com/striderZA/OpenCodeGameStudios/tree/main/.opencode/skills/test-setup
Command: npx skills add https://github.com/striderZA/OpenCodeGameStudios --skill test-setup-striderza

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

It solves the problem of inconsistent or missing automated tests by scaffolding a complete, engine-aware test framework and CI workflow early in a project.

Core Features & Use Cases

  • Engine-aware test scaffolding: Detects the configured engine and creates the appropriate runner/structure for Godot, Unity, or Unreal.
  • Standardized test directories: Generates a consistent tests/ layout (unit, integration, smoke, evidence) to support sprint-wide QA gates.
  • CI/CD wiring for push/PR: Creates .github/workflows/tests.yml so tests run automatically on every push and pull request.
  • Safety-first file creation: Skips overwriting existing files, supports a force flag to regenerate only when safe, and stops if the engine is not configured.

Quick Start

Run /test-setup after you have configured the engine, and confirm the plan to generate the tests/ structure and CI workflow without overwriting existing files.

Frequently Asked Questions about test-setup

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

FAQPage Schema
How do I set up automated testing infrastructure for a game engine project?

To set up automated testing infrastructure, you can scaffold an engine-specific test framework that creates standardized unit, integration, and smoke test directories, alongside a CI workflow to run tests on every push.

How do I configure GitHub Actions CI to run unit tests on every push?

You can configure GitHub Actions CI by generating a `.github/workflows/tests.yml` file that automatically runs your unit, integration, and smoke tests on every push and pull request.

Does test scaffolding work with Godot, Unity, and Unreal game engines?

Yes, test scaffolding detects your configured game engine and generates the appropriate test runner and configuration files specifically for Godot, Unity, or Unreal projects.

What is the best way to create standardized test directories for game development?

The best way to create standardized test directories is to generate a consistent `tests/` layout containing unit, integration, smoke, and evidence folders to support sprint-wide QA gates.

Will generating a CI workflow overwrite my existing test files?

No, the CI workflow generation is safety-first and will skip overwriting existing test files unless they are missing, requiring explicit approval or a safe force flag to regenerate.

Why does test setup stop if the game engine is not configured?

Test setup stops if the game engine is not configured because it requires reading engine configuration from technical preferences to generate the correct engine-specific test runner and scaffolding.