Testing
User Guides › Matrix Forge
| ← Previous: Output variables | [Next: —] |
Testing the calc engine
The Testing tab in the Formula Builder lets you define test input data and run the engine to see variables, matrices, and output variables without leaving the flow editor.
Test data
- Test cases — The engine’s input layer (form fields, flow data) is filled from test cases. Each test case has a name and a set of values keyed by data reference (e.g.
Input.Quote.FaceAmount,Input.Insured.DOB). - Creating test data — Use the settings or “Manage test data” control to add, edit, or delete test cases. For each test case, fill in values for the inputs that your formulas use. The UI may show required or suggested fields from the form and ancestry.
- Active test case — One test case is selected as “active”. When you click Run, the engine runs with that test case’s values.
Running a test
- Click Run (or equivalent) on the Testing tab. The engine executes with the active test case’s input.
- Response — The result view shows:
- Variables — Computed pre-calc values.
- Output matrices — Each matrix’s rows and columns.
- Output variables — Summary and post-calc values.
- Errors — If a formula fails (e.g. missing reference, type error), the response will show error messages; fix the formula or test data and run again.
Tips
- Start with one test case and a minimal set of inputs; add more inputs and test cases as needed.
- Use the Form and Rates tabs in the sidebar to see which inputs the engine expects and to confirm rate sheets are available.
- Output variables and matrices that are “included in schema” will appear in the flow’s data schema and can be used in later steps (e.g. report data bindings).
User Guides › Matrix Forge
| ← Previous: Output variables | [Next: —] |