·oh-ut-generator
</>

oh-ut-generator

openharmonyinsight/openharmony-skills

Generate OpenHarmony C++ unit tests following HWTEST_F framework conventions. Supports Mock strategies, BUILD.gn configuration, NDK/NAPI interfaces, and maintains 75%+ coverage requirements with strict code style consistency. Use when generating unit tests for OpenHarmony C++ source files.

18Installs·2Trend·@openharmonyinsight

Installation

$npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill oh-ut-generator

SKILL.md

Generate comprehensive C++ unit tests for OpenHarmony code following HWTESTF framework conventions.

Invoke this skill when you need to generate unit tests for OpenHarmony C++ source files.

The system automatically extracts source file's BUILD.gn configuration:

Generate OpenHarmony C++ unit tests following HWTEST_F framework conventions. Supports Mock strategies, BUILD.gn configuration, NDK/NAPI interfaces, and maintains 75%+ coverage requirements with strict code style consistency. Use when generating unit tests for OpenHarmony C++ source files. Source: openharmonyinsight/openharmony-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill oh-ut-generator
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is oh-ut-generator?

Generate OpenHarmony C++ unit tests following HWTEST_F framework conventions. Supports Mock strategies, BUILD.gn configuration, NDK/NAPI interfaces, and maintains 75%+ coverage requirements with strict code style consistency. Use when generating unit tests for OpenHarmony C++ source files. Source: openharmonyinsight/openharmony-skills.

How do I install oh-ut-generator?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill oh-ut-generator Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/openharmonyinsight/openharmony-skills