To create a test template, define the "Given" and "Expect" columns by using the expression editor below.



Clear

Use contextual menu to add/remove columns and rows.

Left click on column header & then edit the mapping with a field using the Test Editor tab.

Double click on the field to set the mapping.

Each cell can contain an expression which use following syntax:

  • = value (or no symbol): specifies equals to a value. This is the default and only operator supported under GIVEN section
  • ! or != or <> value: specifies not equals to a value. It can be used with other operators.
  • < or > or <= or >= value: specifies a comparison
  • [ value1, value2, value3 ]: provides a list of values. This operator works like the logical OR operator
  • expression1 ; expression2 ; expression3: specifies a list of expressions. This operator works like the logical AND operator

Example of expressions:

  • < 3
  • < 3 ; ! [0,-1]
  • [MyString, My second string]
  • = 3; > 2

Empty cell is equal to null and use the equals symbol (=) without any value to specify an empty string.