我无法在Xamarin.iOS Calabash中使用正则表达式生成代码片段。
例如..
Feature:ABC
Given I launch my app
Then I should see text "Home"生成的代码段:
Then(/^I should see text "Home"$/) do
pending #Write code here that turns the phrase above into concrete actions
end我尝试过传递"(.*)","(.*?)“以及"(^\"*)“
有人能告诉我吗?我的安装过程是否遗漏了什么,或者在其他地方有问题?
发布于 2016-04-06 18:19:06
然后
(/^I应该看到文本"Home"$/)
如果你有一个步骤:
Then I should see text "Home"定义应该是:
Then(/^I should see text "([^"]*)"$/) do |arg1|
end到底发生了什么?你是怎么运行cucumber的?
https://stackoverflow.com/questions/36442651
复制相似问题