How can we know about the misbehavior of the RuleSheet in RuleTest ? - Forum - Corticon - Progress Community

How can we know about the misbehavior of the RuleSheet in RuleTest ?

 Forum

How can we know about the misbehavior of the RuleSheet in RuleTest ?

This question is not answered

Consider we are running a Ruletest.....

Our ruletest got failed to get the expected output......

How can we automatically find in which part the rulesheet fails ?

All Replies
  • The best way is to put parametrized rule messages against your rules, so when you execute your rules in test you have a full textual trace of all rules (and calculations). You’ll be able to quickly identify a mistake in your rules. You can also chose to selectively disable/enable the rules in your rulesheet to debug them and work towards your expected outcome in a step-by-step approach).
     

     

    Figure 1: example messages with percentage and amounts as variables

     
    Best regards,
    Harold
     +31 654 217 073