ohos-test-graphics3d-static-api-unit-test
OfficialGenerate 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, andSceneETS. - 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.
- Add or extend unit tests for wrapper-style classes such as
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 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: 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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.