Let’s look how the release 8.2.0 enhanced OpenRules testing capabilities by extending tables of the type “DecisionTest” with new columns:
- ActionComment. Here is an example:
(You may click on this table to enlarge)
This DecisionTest table replaces 3 tables previously needed to describe test cases for the standard project “PatientTherapy”:
You still may continue to use different tables, but starting with the release 8.2.0 you may combine all of them in one table “DecisionTest”.
We added a new column of the type “ActionDefine” that allows you to define test values for decision variables across different business concepts. It makes the table “DecisionTest” more readable and along with improved explanations simplifies the analysis of the produced results.
You also may select which test-cases you want to test at any particular moment. You may use a new column of the type “ActionActive” to mark the active test-cases like in the example “CreditCardApplication” below:
Here we marked only the second test case as “active” and during the execution only this test-cases will be tried. If all cells in the column “ActionActive” are empty, then all test will be executed.
You also may add the column “ActionComment” that can be used to provide additional explanations in the execution protocol when trace=On.
You are not limited anymore to one DecisionTest table with the name “testCases”. You may create multiple DecisionTest tables with different names (they should be unique) and OpenRules will execute active test-cases within all of them.
We also want to remind you about OpenRules Regressions Testing that allows you to test multiple decision models at the same time.