Frankを使用してjenkinsからのテストセッションを自動化しようとしています。
これは私が受け取るエラーメッセージです。
(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からコードをチェックアウトしますが、これに加えて、次のようにシェルコマンドを追加しました。
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
すべてが適切に構築されており、サーバーに移動し
てシェルコマンドの最後の行を手動で入力すると、テストが実行されます。
よろしくお願いします