As of a week ago, ASK CLI v2.0.0 is now available (and v2.0.1 shortly thereafter). As a result, the new "hello world" template is based on a new project structure that requires some manual editing of testing.json after bst init. It would be great to have an option with bst init to produce a testing.json file that is geared toward the new project structure.
Recognizing that not all projects will be based on ASK CLI v2.0.x right away, and in the interest of not breaking backward compatibility, perhaps bst init could have an option flag that produces a testing.json to match the needs of the new template. Specifically:
- Skill fulfillment code is now in
/lambda relative to the project root (formerly at /lambda/custom. Relative to the test/unit directory, the "handler" property should be set to "../../lambda/index.js".
- Interaction model JSON is now in
/skill-package/interactionModels/custom/ relative to the project root (formerly at /models). Relative to the test/unit directory, the "interactionModel" property should be set to "../../skill-package/interactionModels/custom/en-US.json" (I think...is there not a way to not specify a specific locale's interaction model and just specify the location?)
As of a week ago, ASK CLI v2.0.0 is now available (and v2.0.1 shortly thereafter). As a result, the new "hello world" template is based on a new project structure that requires some manual editing of testing.json after
bst init. It would be great to have an option withbst initto produce a testing.json file that is geared toward the new project structure.Recognizing that not all projects will be based on ASK CLI v2.0.x right away, and in the interest of not breaking backward compatibility, perhaps
bst initcould have an option flag that produces a testing.json to match the needs of the new template. Specifically:/lambdarelative to the project root (formerly at/lambda/custom. Relative to thetest/unitdirectory, the "handler" property should be set to "../../lambda/index.js"./skill-package/interactionModels/custom/relative to the project root (formerly at/models). Relative to thetest/unitdirectory, the "interactionModel" property should be set to "../../skill-package/interactionModels/custom/en-US.json" (I think...is there not a way to not specify a specific locale's interaction model and just specify the location?)