openharmony-testing-apis

Community

OpenHarmony testing APIs for UI and perf.

Authormengfei0053
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill exposes and coordinates the built-in OpenHarmony testing APIs (JsUnit, UiTest, PerfTest) to streamline test automation, UI interaction, and performance benchmarking for OpenHarmony apps.

Core Features & Use Cases

  • Unified access: Provides access to the four main testing modules:
    • @ohos.app.ability.abilityDelegatorRegistry
    • @ohos.application.testRunner
    • @ohos.UiTest
    • @ohos.test.PerfTest
  • Scenario coverage: Enables automated UI testing, performance measurements, and custom test runner integration across real-world OpenHarmony apps.
  • Use Case: When validating an app’s lifecycle, UI flows, and startup performance, you can script tests that exercise these APIs in a consistent, repeatable way.

Quick Start

Use the OpenHarmony testing APIs in your app’s test configuration to set up UiTest/UI interactions and PerfTest benchmarks via the provided modules.

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: openharmony-testing-apis
Download link: https://github.com/mengfei0053/skills/archive/main.zip#openharmony-testing-apis

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.