# hmtest_chapter02 **Repository Path**: wayxingwork/hmtest_chapter02 ## Basic Information - **Project Name**: hmtest_chapter02 - **Description**: 第二章案例 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-06 - **Last Updated**: 2026-01-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # hmtest_chapter02 #### 介绍 第二章案例 https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/ide-code-test #### 软件架构 软件架构说明 DevEco Studio支持应用/元服务测试框架,提供测试用例执行能力,提供用例编写基础接口,输出测试结果,支持用户开发简洁易用的自动化测试脚本,支持代码覆盖率统计。 Instrument Test:测试用例存放在ohosTest测试目录下,需要运行在设备或模拟器上。Instrument Test支持ArkTS/JS语言。 Local Test:测试用例存放在test测试目录下,不需要运行在设备或模拟器上。Local Test支持ArkTS语言,仅支持Stage模型,不支持测试C/C++方法及系统API。 #### 使用说明 API Mock (需要模拟器支持) bluetoothManager.test.ets Local Test Mock: 直接运行 test_mock_local_method.test.ets