3

I've got my travis CI set up with espresso instrumental testing for my android library but some test fail on Travis CI while on my local machine (emulator and physical device) everything is okay and all test are passed..

I don't understand why on the server side someone fail, while on the local machine in my ide, with the same script command everything is okay.

Can someone help me out?

Thanks

dvdciri
  • 441
  • 6
  • 19

1 Answers1

0

Instrumented UI tests using Espresso Testing Framework depend on the emulator that you created.

We normally use Android Studio locally, and a different one in CI build servers.

The chosen server is not the reason of the failure, probably the screen size of the emulator.

albodelu
  • 7,931
  • 7
  • 41
  • 84