简体   繁体   English

特拉维斯CI仍然没有通过Espresso测试 - Android

[英]Travis CI still failing with Espresso test - Android

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.. 我的travis CI设置了我的android库的espresso工具测试但是在我的本地机器(模拟器和物理设备)上的一些测试失败Travis CI一切都很好并且所有测试都通过了..

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. 我不明白为什么在服务器端有人失败,而在我的ide中的本地机器上,使用相同的脚本命令一切都没问题。

Can someone help me out? 有人可以帮我吗?

Thanks 谢谢

Instrumented UI tests using Espresso Testing Framework depend on the emulator that you created. 使用Espresso Testing Framework进行的仪表化UI测试取决于您创建的仿真器。

We normally use Android Studio locally, and a different one in CI build servers. 我们通常在本地使用Android Studio,在CI构建服务器中使用不同的。

The chosen server is not the reason of the failure, probably the screen size of the emulator . 选择的服务器不是失败的原因,可能是模拟器的屏幕大小

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

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