qt-test-fixture-generator
Generate Qt Test fixtures with mock QObject signals and slots, data-driven tests, and GUI testing setup
npx skills add a5c-ai/babysitter --skill qt-test-fixture-generator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# qt-test-fixture-generator Generate Qt Test fixtures with mock QObject signals and slots, data-driven tests, and GUI testing setup. This skill creates comprehensive test infrastructure for Qt applications. ## Capabilities - Generate QTest-based test fixtures - Create mock QObjects with signal/slot support - Set up data-driven tests with QFETCH - Configure GUI testing with QTestLib - Generate test doubles for Qt classes - Set up benchmark tests - Configure test coverage reporting - Generate CMake test integration ## Input Schema ```json { "type": "object", "properties": { "projectPath": { "type": "string", "description": "Path to the Qt project" }, "classToTest": { "type": "string", "description": "Name of the class to generate tests for" }, "testType": { "enum": ["unit", "integration", "gui", "benchmark"], "default": "unit" }, "mockDependencies": { "type": "array", "items": { "type": "string" }, "description": "Classes to mock" }, "dataProviders": { "type": "array", "items": { "type": "object", "properties": { "testName": { "type": "string" }, "columns": { "type": "array" }, "rows": { "type": "array" } } } }, "generateCoverage": { "type": "boolean", "default": true } }, "required"
- Capabilities
- Input Schema
- Output Schema
- Generated Test Fixture
- Mock Object
- CMake Integration
- Running Tests
- Best Practices
- Related Skills
- Related Agents
Run all tests ctest --test-dir build Run specific test Run with verbose output Run specific test function Run data-driven test with specific data row Output XML for CI
What does the qt-test-fixture-generator skill do?
Generate Qt Test fixtures with mock QObject signals and slots, data-driven tests, and GUI testing setup
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill qt-test-fixture-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
