白盒性能测试框架使用指导 简介 白盒性能测试框架(PerfTest),提供了针对指定代码段运行时的白盒性能测试能力,用于度量指定应用进程的性能表现。框架通过多轮迭代执行机制和环境复位机制实现自动化测试,支持耗时、CPU使用率等基础数据和启动时延、滑动帧率等场景化性能数据的采集和度量。使用PerfTest接口的性能测试脚本需基于单元测试框架进行开发。
阅读全文
openharmony 鸿蒙 unittest-guidelines
单元测试框架使用指导 概述 单元测试框架(JsUnit),是自动化测试框架基础底座,提供测试脚本识别、调度、执行和结果汇总的能力。开发者可在测试脚本中调用UI测试框架和白盒性能测试框架接口编写测试用例。
阅读全文
openharmony 鸿蒙 uitest-guidelines
UI测试框架使用指导 概述 UI测试框架(UITest)为开发者提供UI界面查找和模拟操作能力,可覆盖UI自动化测试的关键场景,包括界面控件精准查找、UI交互操作(如点击、滑动、文本输入等)、外设行为模拟(如键盘输入、鼠标操作、触控板手势、手写笔动作等),助力开发者开发高效可靠的界面自动化测试用例。
阅读全文
openharmony 鸿蒙 test-kit-overview
Test Kit简介 Test Kit为开发者提供了自动化测试框架,框架提供单元、UI和性能测试能力,支持编写ArkTS语言的单元、UI和性能自动化测试脚本,并通过测试结果查看相应功能的实现效果。从API
阅读全文
openharmony 鸿蒙 docs-owners
List of Owners Kit Ability Kit Performance Analysis Kit ArkGraphics 3D ArkTS AVCodec Kit AVSession Kit Calendar Kit IDL Camera Kit Test Kit Background Tasks Kit User Authentication Kit Input Kit Asset
阅读全文
openharmony 鸿蒙 supply-chain-security-governance
Community Supply Chain Security Governance Overview To ensure the integrity, security, and compliance of the OpenHarmony open-source project, the community has established a comprehensive supply chain
阅读全文
openharmony 鸿蒙 js-apidiff-CalendarKit
Change TypeOld VersionNew Versiond.ts File Permission changeClass name: CalendarManager;API declaration: createCalendar(calendarAccount: CalendarAccount): Promise<Calendar>;Differences: ohos.per
阅读全文
openharmony 鸿蒙 js-apidiff-CoreFileKit
Change TypeOld VersionNew Versiond.ts File API cross-platform permission changeClass name: global;API declaration: declare function lseek(fd: number, offset: number, whence?: WhenceType): number;Diffe
阅读全文
openharmony 鸿蒙 js-apidiff-AudioKit
Change TypeOld VersionNew Versiond.ts File API cross-platform permission changeClass name: global;API declaration: declare namespace audioDifferences: NAClass name: global;API declaration: declare nam
阅读全文
openharmony 鸿蒙 js-apidiff-DeviceCertificateKit
Change TypeOld VersionNew Versiond.ts File New error codeClass name: X509Cert;API declaration: getSubjectName(): DataBlob;Differences: NAClass name: X509Cert;API declaration: getSubjectName(encodingTy
阅读全文