Name | Type | Required | Default | Hint |
name | string | true | Name of the BDD spec to create without the .cfc. For packages, specify name as 'myPackage/myBDDSpec' | |
open | boolean | false | false | Open the file once it is created |
directory | string | false | tests/specs | The base directory to create your BDD spec in, defaults to 'tests/specs' |
Create a new BDD spec in an existing ColdBox-enabled application. Run this command in the root
of your app for it to find the correct folder. By default, your new BDD spec will be created in /tests/specs but you can
override that with the directory param.
coldbox create bdd mySpec