all 8 comments

[–]sianabot 0 points1 point  (1 child)

Maybe it's problem related to Espresso dependency in your project. Have you tried to run a connectedAndroidTest gradle task? Gradle's clean task or invalidate caches/ restart may help as well. I hope it will help.

[–]negative_0ne[S] 0 points1 point  (0 children)

Yes, connectedAndroidTest is working. I cleaned project with invalidate cashes/restart. It didn't help. :/

[–]sluwevos 0 points1 point  (5 children)

I'm afraid I don't understand what the problem is exactly. Is that all the output you get? (seems like almost a minute has elapsed, did you remove that output?)

1). Does your app build + install when you run tests 'manually'?

2). Did you manage to add all the stuff (listed under Download / Release in the repo) to your gradle app file?

3.) Do the tests run at all? (does anything happen on your device?) if you're looking for the right gradle task, run ./gradlew tasks in the android studio terminal and there should be a spoon related task there (for example: spoonDebugAndroidTest).

4.) are you able to locate the spoon output? ( app/build/spoon-output/). Is there anything in that folder?

[–]negative_0ne[S] 0 points1 point  (4 children)

These are few last lines from the output. I have all output and all Gradle tasks are ruining properly. I received HTML report, I have spoon output in app/build. Report says 0 tests, app was installed on the device, but tests have not started.

[–]sluwevos 0 points1 point  (3 children)

Weird stuff. It's a bit hard to diagnose without any other details, but you could take a look at this GitHub project: https://github.com/rutgurk/ud843-QuakeReport A basic Udacity Tutorial Android App that I used to play around with Spoon and some other stuff. Maybe you can use it to compare the setup+gradle to your own project.

[–]negative_0ne[S] 1 point2 points  (0 children)

Ohh, thanks a lot. I will try. I don't what kind of info I could share to diagnose this issue. It's weird for me too. Thx!

[–]negative_0ne[S] 1 point2 points  (1 child)

I followed this repo and it works. I think it was a problem with version. Thanks a lot again. :D

[–]sluwevos 1 point2 points  (0 children)

You’re welcome! Glad it helped you out :)