ohos-test-graphics3d-static-api-unit-test

Official

Generate reliable Graphics 3D ETS unit tests

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps you produce correct, consistent unit tests for OpenHarmony graphic_3d ETS static API wrappers, avoiding broken test discovery, missing annotations, and incorrect naming or BUILD.gn setup.

Core Features & Use Cases

  • AAA-based GTest/HWTEST_F test templates: ensures Arrange-Act-Assert structure with required OpenHarmony annotations.
  • OpenHarmony-compliant naming conventions: standardizes test class, case, and file naming for stable integration.
  • EtsTest fixture and BUILD.gn guidance: supports GTest-based ETS unit test environment setup and common build/runtime issues.
  • Use cases:
    • Add or extend unit tests for wrapper-style classes such as MaterialETS, CameraETS, and SceneETS.
    • Create a new ETS test module and integrate it into the OpenHarmony build system.
    • Troubleshoot typical errors like missing headers, unresolved libraries, or test interference.

Quick Start

Use the ohos-test-graphics3d-static-api-unit-test skill to generate GTest-based ETS unit test cases for your new MaterialETS/CameraETS/SceneETS wrapper and update the corresponding BUILD.gn sources accordingly.

Dependency Matrix

Required Modules

None required

Components

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: ohos-test-graphics3d-static-api-unit-test
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#ohos-test-graphics3d-static-api-unit-test

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 471,000+ vetted skills library on demand.