1. Home
  2. FlexRule Designer
  3. Testing
  4. Testing rules expressions syntax

Testing rules expressions syntax

Print Friendly, PDF & Email

◷ Reading Time: 2 minutes

This type of test allows you to build a test case for all expressions in your logic. The big difference between this Expression Tree test case and the other Logic test case is that this test will ignore:

  1. the logical order of Boolean expressions
  2. the Boolean operators of the Decision Table

This test case is designed specifically to cover expression testing on Decision Table logic.

Create new Expression Testcase

To add this type of test document, you simply need to add a new type of logic as shown below:

Providing data

When building an expression test you should still provide data for checking the expression syntax. To create and set data in a test logic document, please visit the test builder section.

Importing from a Decision Table

  • Create a new test document (described above)
  • Add TestCase and Section nodes to the tree
  • Select TestCase node and set the Logic File Property

  • Add a Test under the Section node
  • Select the new Test node in the tree
  • From the document toolbar select

The following window will appear:

  • Select all rows using CTRL+A key
  • Press the OK button
Updated on July 19, 2019

Was this article helpful?

Related Articles