简体   繁体   English

勺子:空ADB在Espresso测试中登录报告

[英]Spoon: Empty adb logs in the report in Espresso tests

I am getting no logs in the report. 我在报告中没有日志。 I am running Espresso Instrumented tests on multiple devices via Spoon. 我正在通过Spoon在多个设备上运行Espresso Instrumented测试。 I have tried with version 1.4, 1.5.1 and 1.5.2 as well. 我也尝试过1.4、1.5.1和1.5.2版本。 No luck :( 没运气 :(

java -jar spoon-runner-1.5.2-jar-with-dependencies.jar --apk hockeyapp-debug-unaligned.apk --test-apk hockeyapp-debug-androidTest-unaligned.apk --class-name Tests java -jar汤匙运行者1.5.2-jar-with-dependencies.jar --apk hockeyapp-debug-unaligned.apk --test-apk hockeyapp-debug-androidTest-unaligned.apk --class-name测试

First, may I know what do you mean that you get no report? 首先,请问您没有收到报告是什么意思? no report from Spoon, or no report on HockeyApp dashboard? Spoon没有报告,或者HockeyApp仪表板上没有报告? Which kind of data are you collecting with HockeyApp SDK? 您使用HockeyApp SDK收集哪种数据?

If the later, please provide more information, such as: How did you integration HockeyApp SDK? 如果是更高版本,请提供更多信息,例如:您如何集成HockeyApp SDK? Did you set you the AppID in your app correctly? 您是否在应用程序中正确设置了AppID? This article could be helpful as how to integrate HockeyAPP SDK into an android app. 本文对于如何将HockeyAPP SDK集成到android应用程序中可能是有帮助的。

Please let me know if you have any further question concerning HockeyApp. 如果您还有其他关于HockeyApp的问题,请告诉我。

This issue is recently fixed as part of this pull request . 此问题最近已作为此请求的一部分修复。 You might want to switch to the latest version of spoon runner and check if it works. 您可能要切换到最新版本的汤匙流道,并检查它是否有效。

Latest available version of spoon runner is 1.5.7 as of now where this issue was addressed. 截至目前为止,解决此问题的勺式浇口的最新可用版本为1.5.7。

By looking at the pull request, it looks like there was some issue with the ddmlib library on which this plugin depends upon to capture logs from device. 通过查看拉取请求,看来ddmlib库存在一些问题,该插件依赖该库从设备捕获日志。

Hope this helps you. 希望这对您有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM