turnip-kanban
This gem exists to make my workflow for acceptance tests easier. My workflow is:
- Pull a card into WIP in my Kanban system
- Work with any necessary stakeholders to get as much understanding of the functionality as possible.
- Write out all Scenarios to complete the card
- Tag each Scenario with
@backlog
tag and use RSpec'sfilter_tag_excluding
option to keep them from running - Pull the first card and mark it as
@wip
- When the feature passes remove all tags and commit/push
Repeat steps 5 and 6 for the remaining scenarios. Once all are passing the card should be ready to go.
What this does
At the moment this is an extremely simple plugin. It has only 2 behaviors:
- Ignore any Scenarios tagged with
@backlog
- If a Scenario is tagged with
@wip
then run only that Scenario
N.B. This does not ignore failing @wip
scenarios like Cucumber's --wip
switch. Would that even be posisble in RSpec?
Usage
In your spec/turnip_helper.rb
:
require "turnip/kanban"
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request