Name | Type | Required | Default | Hint |
name | string | true | Name of the xUnit Bundle to create without the .cfc. For packages, specify name as 'myPackage/MyServiceTest' | |
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 xUnit Bundle 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 xUnit Bundle will be created in /tests/specs but you can
override that with the directory param.
coldbox create unit myUnit