Calabash android custom TestSpec unavailable

0

Hello,
I've been trying to execute my calabash-android tests on Amazon Device Cloud for a while now but I've not been able to successfully reproduce my local setup.
I read in https://docs.aws.amazon.com/devicefarm/latest/developerguide/test-environments.html that:

Device Farm provides a default test spec for each supported test type
but when I create a TestSpec for my calabash android tests and try to upload it, I can't select the calabash testSpec because the option just isn't available.

I've uploaded it (From project settings > uploads) as external data but this doesn't allow me to select it from the jenkins AWS Device Farm plugin.

In conclusion: I would need to execute some calabash-android tests from Device Farm but I'm presented with a lot of unknowns, such as the ruby gems available in the system, the ruby version, project path and other variables I would expect.

If this is not the intended way to execute the calabash-android tests in Device Farm, can someone point me in the right direction?

已提問 5 年前檢視次數 183 次
3 個答案
0
已接受的答案

Hi

DeviceFarm as of today does not support custom environment for calabash based tests.
That why you are not able to upload a test spec file.
Can you try running your tests in standard mode and let us know if that works

已回答 5 年前
0

Hi

Device Farm has launched support for running Appium ruby based tests. Please check our documentation for more details

https://aws.amazon.com/about-aws/whats-new/2019/01/aws-device-farm-now-supports-appium-nodejs-and-appium-ruby/
https://docs.aws.amazon.com/devicefarm/latest/developerguide/test-types-android-appium-ruby.html

Fo running your calabash tests, you can use the APPIUM_RUBY teststype.
U can customize the yaml file with the exact same set of commands as you do to run your tests locally.

Also , which gems and dependencies to install are all controlled by you.

Let me know if you need more help on this

已回答 5 年前
0

Hi
Thank you very much for your prompt response.
I will look into that solution and will get back to you if I have any other issues
Thank you very much!

已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南