Tutorial scenario
Describes the scenario used in this tutorial.
To generate a template for an Excel scenario file to test your rules in Rule Designer or Decision Center, you must first configure the BOM of the rule project:
- The Borrower class in the BOM has several constructors. You must select the constructor to use for creating test data.
- The arguments of the constructor have generic names. You must rename them to obtain meaningful column headings in the Scenarios sheet of the Excel scenario file.
- To handle a collection of messages, you must define a new column in the Expected Results sheet. You must create a virtual attribute in the BOM.
- You add an attribute with an interface type. You must create a constructor for the interface to define the implementation class.
- You edit one of the arguments of the constructor so that it contains domain values.
In this tutorial, you learn how to validate a rule project to enable the generation of an Excel scenario file template.
This tutorial takes about 40 minutes to complete.
Start this tutorial: Task 1: Selecting a constructor.