OpenHarmony开发者论坛

标题: 执行测试用例日志输出报错 [打印本页]

作者: f4nx1ng    时间: 2024-1-26 10:42
标题: 执行测试用例日志输出报错
[md]在使用开发者自测试框架运行单元测试的时候,执行环节没有问题但是在report输出的时候发生了报错,其中的log内容如下

```
[2024-01-25 11:28:17,021] [16844] [ResultReporter] [INFO]
[2024-01-25 11:28:17,021] [16844] [ResultReporter] [INFO] [**************************************************]
[2024-01-25 11:28:17,021] [16844] [ResultReporter] [INFO] [************** Start generate reports ************]
[2024-01-25 11:28:17,021] [16844] [ResultReporter] [INFO] [**************************************************]
[2024-01-25 11:28:17,021] [16844] [ResultReporter] [INFO]
[2024-01-25 11:28:17,021] [16844] [ResultReporter] [ERROR] [Execute result not exists] [ErrorNo=00000]
[2024-01-25 11:28:17,021] [16844] [ResultReporter] [ERROR] [Summary data report not exists] [ErrorNo=00000]
[2024-01-25 11:28:17,021] [16844] [ResultReporter] [INFO] [Copy summary files to C:\Users\XXX\AppData\Local\Temp\xdevice_data\latest]
[2024-01-25 11:28:17,021] [16844] [ResultReporter] [INFO]
[2024-01-25 11:28:17,021] [16844] [ResultReporter] [INFO] [**************************************************]
[2024-01-25 11:28:17,021] [16844] [ResultReporter] [INFO] [************** Ended generate reports ************]
[2024-01-25 11:28:17,021] [16844] [ResultReporter] [INFO] [**************************************************]
[2024-01-25 11:28:17,021] [16844] [ResultReporter] [INFO]

```
[/md]
作者: 深开鸿_王石    时间: 2024-1-30 09:21
这个意思就是没有result,测试没执行起来,你要看看tasklog,具体错误是啥,




欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) Powered by Discuz! X3.5