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?

gefragt vor 5 Jahren209 Aufrufe
3 Antworten
0
Akzeptierte Antwort

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

beantwortet vor 5 Jahren
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

beantwortet vor 5 Jahren
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!

beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen