如何将Cumber场景标记为待定,这样就不会被视为已通过?
Scenario: Guest should not see edit link
# pending implementation
难道我不能把它标记为待定吗?
如何将Cumber场景标记为待定,这样就不会被视为已通过?
Scenario: Guest should not see edit link
# pending implementation
难道我不能把它标记为待定吗?
好吧,我想出来了.
如果在任何步骤文件中都找不到场景步骤,则将其标记为挂起.
Scenario: New product form should have some special field
Given joe is logged in as an user
When on the new exercise page
Then the select field should have some special field
它甚至可以省go 等待的步骤.
When /^on the new exercise page$/ do
pending # express the regexp above with the code you wish you had
end