Android Instrumentation Tests in TeamCity

Answered

Hello community!

 I want to test Android UI with TeamCity. I have already set up a project, it runs junit tests, but not instrumentation. I think it should somehow run an android emulator, then run tests from the androidTest (instrumentation tests exist there) folder and after that report results and create .apk file. The question is: how to set up emulator and run exactly UI tests?

I have got installed Android Studio and TeamCity 10.

 

Thanks!

Andrew

1
1 comment
Avatar
Permanently deleted user

Hello Andrew,

You can try Gradle Build Runner for running Android instrumentation Tests.

You may also find this article useful.

 

0

Please sign in to leave a comment.