Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test fails on Android 2.3.6 device #63

Closed
cmlim opened this issue Oct 21, 2015 · 4 comments
Closed

Test fails on Android 2.3.6 device #63

cmlim opened this issue Oct 21, 2015 · 4 comments

Comments

@cmlim
Copy link

cmlim commented Oct 21, 2015

on target device: SHW-M110S 2.3.6
ran test_all.sh with cloned android-testing project
result was as below

ui/espresso/BasicSample :app:connectedDebugAndroidTest
ui/espresso/BasicSample Tests on SHW-M110S - 2.3.6 failed: Instrumentation run failed due to 'Process crashed.'
ui/espresso/BasicSample
ui/espresso/BasicSample com.android.builder.testing.ConnectedDevice > No tests found.[SHW-M110S - 2.3.6] FAILED
ui/espresso/BasicSample No tests found. This usually means that your test classes are not in the form that your test runner expects (e.g. don't inherit from TestCase or lack @test annotations).
ui/espresso/BasicSample :app:connectedDebugAndroidTest FAILED

any clue on this?

@slinzner
Copy link
Contributor

slinzner commented Nov 3, 2015

Yeah i have seen this before it's on my list!

@piotrek1543
Copy link

@cmlim, please check if your project is configured properly.
I use for only Espresso these dependencies:
https://gist.github.com/piotrek1543/64514ca2c773d92441c5
and that's my sample Espresso test class:
https://gist.github.com/piotrek1543/e26b85ae3776b3276a32
Hope it help.

@JoseAlcerreca
Copy link
Contributor

He(/she) is using BasicSample, so the project should be configured correctly.

@slinzner
Copy link
Contributor

Cannot be reproduced on latest emulator image (2.3.7) and latest android gradle plugin version...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants