How to test deployed rules
- Last Updated: February 23, 2021
- 1 minute read
- Corticon.js
- Documentation
Corticon.js Studio lets you create tests that will exercise your rulesheets and ruleflows. The best practice is to create ruletests as part of the development of your rule projects.
To help you test your rules once they are deployed, Corticon.js provides a way to export the input data from your ruletests as JSON that you can then use as input to test on your deployed platform. In Corticon.js Studio, open a ruletest, and then right-click to choose Export JSON (or Export JSON to Clipboard) to export the JSON data for testing.
Your rules should execute the same way on your JavaScript deployment as they do in the Corticon.js Studio tester.