[rspec-users] cucumber - how to bootstrap outside of rails?
James Byrne
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
of creation.
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
$ tree
.
|-- bin
|-- doc
`-- lib
$
$ cucumber --initialize
$ tree
.
|-- Rakefile
|-- bin
|-- doc
|-- features
| |-- sample.feature
| |-- step_definitions
| | `-- sample_steps.rb
| `-- support
| |-- env.rb
| `-- tag_count_formatter.rb
`-- lib
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list