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."