Spoon: Empty adb logs in the report in Espresso tests

441 views Asked by At

I am getting no logs in the report. I am running Espresso Instrumented tests on multiple devices via Spoon. I have tried with version 1.4, 1.5.1 and 1.5.2 as well. 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

2

There are 2 answers

3
Fangfang Wu - MSFT On

First, may I know what do you mean that you get no report? no report from Spoon, or no report on HockeyApp dashboard? Which kind of data are you collecting with HockeyApp SDK?

If the later, please provide more information, such as: How did you integration HockeyApp SDK? Did you set you the AppID in your app correctly? This article could be helpful as how to integrate HockeyAPP SDK into an android app.

Please let me know if you have any further question concerning HockeyApp.

0
Prateek Jain On

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.

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.

Hope this helps you.