我正在尝试使用 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 中检查代码,除此之外我还添加了一个 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 命令中手动输入最后一行,测试就会被执行。
此致