qt-unittest-make

Community

Generate Qt unit tests with 100% coverage.

Authorre2zero
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

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-unittest-make
Download link: https://github.com/re2zero/deepin-skills/archive/main.zip#qt-unittest-make

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.