我有几行步骤,当我运行黄瓜时,它会填满我的所有终端,浪费我的时间寻找结果
如果我有这样的简单步骤
Then(/^I should receive a confirmation with the information of the closest taxi$/) do
dur1= Geocoder.computeDistance("Riia 1, 51013 Tartu","Liivi 2, Tartu, Estonia")
end
我尝试在其前面添加标记@check
,然后cucumber @check
,但它不起作用
我怎样才能为此运行黄瓜?
答案 0 :(得分:0)
您的原始通话中有拼写错误。添加--tags或-t参数。
cucumber --tags @check
或
cucumber -t @check