s-test

Automate WoW addon unit testing with Busted and Mechanic across sandbox, desktop, and in-game workflows.

16|5|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/Falkicon/Mechanic --skill s-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: s-test
Source: https://github.com/Falkicon/Mechanic/tree/main/.claude/skills/s-test
Command: npx skills add https://github.com/Falkicon/Mechanic --skill s-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Writing and maintaining unit tests for WoW addons is time-consuming and error-prone; this Skill provides a structured approach to creating, running, and validating tests using the Busted framework and Mechanic, reducing regressions and increasing reliability.

Core Features & Use Cases

  • Structured testing: guides test organization, mocks, and coverage analysis for WoW addons.
  • Flexible environments: supports sandbox, desktop, and in-game testing workflows via Mechanic.
  • Regression readiness: facilitates adding tests for bug fixes and new features to ensure long-term stability.

Quick Start

Install and run the Mechanic test workflow to execute your first unit tests against your addon.

Frequently Asked Questions about s-test

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

FAQPage Schema
How do I write unit tests for WoW addons using Busted?

To write unit tests for WoW addons using Busted, you structure test organizations, configure stubs, and mock WoW APIs to validate addon logic and reduce regressions reliably.

What's the best way to mock WoW APIs for Lua unit testing?

The best way to mock WoW APIs for Lua unit testing is using the Mechanic framework alongside Busted to configure stubs, simulating the game environment for reliable sandbox and desktop test execution.

Can I run regression tests for WoW addons in different environments?

Yes, you can run regression tests for WoW addons across sandbox, desktop, and in-game workflows using the Mechanic framework, ensuring long-term stability and validating bug fixes reliably.

How do I generate coverage reports for Lua addon tests via CLI commands?

You generate coverage reports for Lua addon tests by running the provided CLI commands to execute tests via Mechanic and Busted, outputting detailed analysis of your test coverage.

Does the Mechanic framework support configuring stubs for sandbox testing?

Yes, the Mechanic framework supports configuring stubs for sandbox testing, allowing you to isolate WoW addon logic and execute fast, reliable unit tests without requiring the game client.