qt-test-fixture-generator
CommunityInstant Qt test fixtures with mocks
Authorrghamilton3
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill automates the repetitive and error-prone work of writing Qt tests by generating complete QTest fixtures, mock QObjects, data-driven providers, and CMake test integration so developers can focus on behavior rather than setup.
Core Features & Use Cases
- QTest fixture generation: Produces test classes with lifecycle hooks, data providers, and benchmark slots for targeted verification.
- Mock QObjects with signals/slots: Generates mock classes that track calls, emit signals, and provide configurable return values for dependency isolation.
- CMake & CI integration: Adds test executables, registers tests with CTest, and can enable coverage compilation for CI pipelines.
- Use Case: Rapidly scaffold unit and GUI tests for a widget class (e.g., MyWidget) with data-driven test rows, signal verification, and mocked services.
Quick Start
Generate a complete QTest fixture for class MyWidget in /path/to/qt-project with mocked dependencies and CMake test registration.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: qt-test-fixture-generator Download link: https://github.com/rghamilton3/mission-control-rack/archive/main.zip#qt-test-fixture-generator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.