Initialize the folder structure of the cucumber?

Is there an easy way to initialize the folder structure of a cucumber, for example, rail generators?

+5
source share
2 answers

From the documentation :

ruby script/generate cucumber

If you are running an OS that supports fork (read :! Windows), we recommend using Spork and -drb, as this allows you to run cucumbers faster:

ruby script/generate cucumber --spork

For more information on the generator, you can simply ask for help:

ruby script/generate cucumber --help

ruby script/generate feature Frooble name:string color:string description:text

This will create a simple plain text function with appropriate steps. Do not get carried away with this generator - you better write them manually in the long run.

+4
source

Cucumber has the ability to initialize as part of the execution

cucumber --init
+3
source

All Articles