Sha256: daefc6b84c1cec2adadd426303e7648ab74a8d710390722f0b36a21962287eee
Contents?: true
Size: 745 Bytes
Versions: 18
Compression:
Stored size: 745 Bytes
Contents
Description: Generates a skeleton for a new feature. Both a simple .feature file and a steps.rb file is generated. This generator should be used with moderation. See http://github.com/aslakhellesoy/cucumber/wikis/feature-coupled-steps-antipattern for details about the dangers involved. This generator can take an optional list of attribute pairs similar to Rails' built-in resource generator. Examples (Rails 3): `script/rails generate cucumber:feature post` # no attributes `script/rails generate cucumber:feature post title:string body:text published:boolean` Examples (Rails 2): `script/generate feature post` # no attributes `script/generate feature post title:string body:text published:boolean`
Version data entries
18 entries across 18 versions & 4 rubygems