[rspec-users] cucumber - how to bootstrap outside of rails?
lists at ruby-forum.com
Sun May 3 16:34:24 EDT 2009
Aslak Hellesøy wrote:
>> I use mkdir and touch.
> Me too
Fine for those that know cucumber inside out. A bit sparse for the rest
What I ended up doing was copying an example directory tree from the
cucumber gem and deleting most of it. It would be useful for non-Rails
users of cucumber if cucumber itself had an option to copy a template
directory tree from the gem into a project root. In other words:
$ cd project_root
$ cucumber --initialize
| |-- sample.feature
| |-- step_definitions
| | `-- sample_steps.rb
| `-- support
| |-- env.rb
| `-- tag_count_formatter.rb
Posted via http://www.ruby-forum.com/.
More information about the rspec-users