Name | Type | Required | Default | Hint |
path | string | true | The instantiation path of the model to create the test for without any .cfc | |
methods | string | false | A comma-delimited list of method to generate tests for | |
testsDirectory | string | false | tests/specs/unit | Your unit tests directory. Only used if tests is true |
open | boolean | false | false | Open the file once generated |
Create a new model bdd test in an existing ColdBox application. Make sure you are running this command in the root
of your app for it to find the correct folder.
coldbox create model-test myModel --open