AWS设备农场“运行Calabash测试后没有发现要执行的套件”

问题描述:

我试过用几种不同的方式提交测试,但不断收到此错误。有人有主意吗?下面是我在提交我的测试格式。AWS设备农场“运行Calabash测试后没有发现要执行的套件”

mytests.zip 
    -features 
    - step_definitions 
     - steps.rb 
     - moresteps.rb 
    - support 
     - app_installation_hooks.rb 
     - app_life_cycle_hooks.rb 
     - env.rb 
     - hooks.rb 
    - firstfeature.feature 
    - secondfeature.feature 
    - thirdfeature.feature 

感谢

我解决了这个问题。我从运行中删除了配置文件名称,测试运行完美。

你能回答几个问题吗?

  • 你能在物理设备上运行这些测试吗?
  • 您是否使用葫芦在iOS或Android上运行测试?
  • 您是否在使用设备农场运行的相同版本的葫芦?

安卓0.7.2 [1]

的iOS:0.20.3 [2]

  • 你使用的配置文件与这个测试?

如果确保包含配置目录,并将zip文件中的cucumber.yml文件上传到设备场。因此,您的测试包会再看看这样的:

mytests.zip 
    -config 
    -cucumber.yml 
    -features 
    - step_definitions 
     - steps.rb 
     - moresteps.rb 
    - support 
     - app_installation_hooks.rb 
     - app_life_cycle_hooks.rb 
     - env.rb 
     - hooks.rb 
    - firstfeature.feature 
    - secondfeature.feature 
    - thirdfeature.feature 

期待您的回复

问候 詹姆斯

[1] http://docs.aws.amazon.com/devicefarm/latest/developerguide/test-types-android-calabash.html#test-types-android-calabash-version-information

[2] http://docs.aws.amazon.com/devicefarm/latest/developerguide/test-types-ios-calabash.html#test-types-ios-calabash-version-information