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?

asked 5 years ago200 views
3 Answers
0
Accepted Answer

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

answered 5 years ago
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

answered 5 years ago
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!

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions