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년 전206회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠