Name | Type | Required | Default | Hint |
path | string | true | The instantiation path of the interceptor to create the test for | |
points | string | false | A comma-delimited list of interception points to generate tests for | |
testsDirectory | string | false | tests/specs/interceptors | Your unit tests directory. Only used if tests is true |
open | boolean | false | false | Open the test once generated |
Create a new interceptor 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 interceptor-test interceptors.MyInterceptor preProcess,postEvent