Testing & QA
Automated verification of your business rules.
Avoid Regressions
When you update a rule for one scenario, you might accidentally break another. Testing ensures all your existing use cases still work as expected.
Build with Confidence
Promote rules to Production only after 100% of your test suite passes in Staging. Mindlyr provides a clear "Green/Red" status for every version.
Defining Test Cases
A test case in Mindlyr consists of an Input Context and an Expected Output.
{
"lead_score": 95,
"country": "US"
}{
"action": "AUTO_APPROVE",
"priority": "HIGH"
}Running Tests
Via Dashboard (Recommended)
Navigate to any Rule and click the "Tests" tab. You can run individual tests or the entire suite with one click.
Automated QA Runs
You can trigger a full test suite run when promoting to Staging or Production. Mindlyr can block deployments if tests fail.
Performance Benchmarks
Testing also helps you monitor execution time. If a complex rule starts taking more than 50ms to evaluate, Mindlyr will flag it for optimization.
