2017-07-07 69 views
1

我試過用幾種不同的方式提交測試,但不斷收到此錯誤。有人有主意嗎?下面是我在提交我的測試格式。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 

感謝

回答

0

我解決了這個問題。我從運行中刪除了配置文件名稱,測試運行完美。

0

你能回答幾個問題嗎?

  • 你能在物理設備上運行這些測試嗎?
  • 您是否使用葫蘆在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

相關問題