What problem does it solve?
Qt projects frequently struggle to generate reliable unit tests for modules and classes, leading to gaps in coverage and time-consuming manual test creation.
Core Features & Use Cases
- Generates unit tests for Qt modules and classes, including module-wide batch generation and per-class incremental updates.
- Enforces 100% function coverage by analyzing class structures with LSP and generating stubbed test cases.
- Validates builds automatically via integrated CMake merging and Google Test workflows to ensure tests compile and run.
Quick Start
Use the qt-unittest-make skill to generate unit tests for a target Qt module or class. For example, trigger: 为 src/lib/ui 模块创建单元测试. The skill will scan headers, create test files like test_myclass.cpp, configure autotests, and perform a build verification to confirm successful compilation.