我想從詹金斯使用弗蘭克自動化測試會話。坦白從詹金斯自動化
這是我收到的錯誤消息。
(Frank::Cucumber::FrankNetworkError)
./step_definitions/test_steps.rb:30:in `/^I navigate to button V\303\244der$/'
test.feature:41:in `When I navigate to <link>'
| Radar | Norrland |
*********************************************
Oh dear. Your app fell over and can't get up.
*********************************************
Jenkins從git檢出代碼,除此之外,我已經添加了如下的shell命令。
cd ios #<--this is so that I go to the root folder, the one with the .xcodeproj project
frank setup
frank build
frank launch
mv features/*.feature Frank/features/. #<--- this is the testscript
mv features/step_definitions/*.rb Frank/features/step_definitions/. #<--here it is moved to the newly created frank/features & Frank/features/step_definitions folder
cd Frank/features
cucumber test.feature
一切是建立應該的方式,如果我去到服務器
和手動從我的shell命令鍵入最後一行將測試執行。
最好的問候
圖調用它。請注意,Jenkins通常以自己的用戶身份運行,這與用戶不同。這會導致很多問題,除非您以常規用戶身份運行Jenkins。 – Gonen
我會盡快看看,謝謝你的建議 – Jan