Ruby on rails 使用cucumber停用特征
运行所有cucumber功能时,我想排除一个已编写的功能 为什么?? 因为这个特性已经实现了(bdd),但是我现在没有时间实现它,但是我不想失去它 非常感谢您的帮助 代码示例:Ruby on rails 使用cucumber停用特征,ruby-on-rails,cucumber,Ruby On Rails,Cucumber,运行所有cucumber功能时,我想排除一个已编写的功能 为什么?? 因为这个特性已经实现了(bdd),但是我现在没有时间实现它,但是我不想失去它 非常感谢您的帮助 代码示例: @shallbeexcluded Feature: Exclude me In order to learn more As an stack overflow user I want to find more information Scenario: Find what I'm looking fo
@shallbeexcluded
Feature: Exclude me
In order to learn more
As an stack overflow user
I want to find more information
Scenario: Find what I'm looking for
Given I open the Google search page in my browser
When I search for "rspec"
Then I should see a link to http://rspec.info/
cucumber中有一个内置标签:
@wip
(用于进行中的工作,灵感来自看板原则)
要运行在制品功能(标记为@wip):
要运行其他功能(未标记为@wip):
这在上进行了简要讨论,对我来说效果很好。感谢您提供解决方案和附加文档的链接!
rake cucumber:wip
rake cucumber:ok