openharmony-ut
OfficialRun OpenHarmony UT and FuzzTest on devices reliably.
Software Engineering#unit testing#test execution#openharmony#hdc#fuzz testing#ci workflows#device deployment
Authoropenharmonyinsight
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill automates the end-to-end workflow of OpenHarmony unit testing and fuzz testing so you can generate, build, deploy, and execute tests on real devices without manual, error-prone steps.
Core Features & Use Cases
- Interactive environment setup: Collects project root, build output path, build command template, and Windows host IP (for hdc connectivity).
- Device connectivity guardrails: Performs required connectivity validation (ping, hdc port check, target listing, and shell verification) before deploying tests.
- UT/FuzzTest execution workflow: Supports “only run” (reuse existing artifacts if present) and “write then run” (generate → build → deploy → run → fix loop) flows for OpenHarmony projects.
Use cases:
- You need to quickly run an existing UT/FuzzTest target on a connected RK device through hdc.
- You want to modify or create a test and then compile and validate it on-device until it passes.
Quick Start
Tell the assistant: "Run the OpenHarmony UT target <TARGET_NAME> on my RK device using hdc over ${WINDOWS_IP}:8710."
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: openharmony-ut Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#openharmony-ut 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.