Cuketagger
This gem provides the ability to manipulate, in bulk, the tags in a Cucumber test suite.
Installation
Add this line to your application's Gemfile:
gem 'cuketagger'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cuketagger
Usage
Tags can be added,
$ cuketagger add:foo path/to/some.feature
removed,
$ cuketagger remove:foo path/to/some.feature
or replaced.
$ cuketagger replace:old_tag:new_tag path/to/some.feature
Multiple tags and files can be manipulated at the same time
$ cuketagger remove:wip add:release5 replace:qa:prod features/foo.feature:6 features/bar.feature
and the modified file content will be output to the console. To modify the files
themselves, add the explicit force
tag.
$ cuketagger --force remove:wip add:release5 replace:qa:prod features/foo.feature:6 features/bar.feature
Development and Contributing
See CONTRIBUTING.md
License
The gem is available as open source under the terms of the MIT License.