1{ 2 "description": "Configuration for hjunit demo Tests", 3 // 指定设备执行的驱动 4 "driver": { 5 "type": "OHJSUnitTest", 6 //test-timeout: 测试hap 整体执行用例的执行时长 7 "test-timeout": "60000", 8 //shell-timeout: aa test 拉起命令执行时长 9 "shell-timeout": "60000", 10 //bundle-name: 与HAP的app.json 中 bundleName 保持一致 11 "bundle-name": "ohos.acts.hiviewdfx.crossplatform.hilog.normal", 12 //module-name: 与HAP的module.json 中"module"字段的 name 保持一致 13 "module-name": "entry_test" 14 //testcase-timeout: 测试hap 单条用例的执行时长 15 //"testcase-timeout": 5000 16 }, 17 // kit的作用主要是为了支撑测试执行活动,在测试前执行预制操作(Setup),在测试后执行清理操作(Teardown) 18 "kits": [ 19 { 20 "test-file-name": [ 21 "ActsCrossplatformHilogTest.hap" 22 ], 23 "type": "AppInstallKit", 24 "cleanup-apps": true 25 } 26 ] 27}