...
2. Rule Validation (Rule For)
Definition
Panel | ||||
---|---|---|---|---|
| ||||
The RuleForInterpreter is used to express concrete and measurable business rules.
|
Specific Keywords for expected values
...
3. List Validation (List of, Set of, Superset of, Subset of)
Definition
Panel | ||||
---|---|---|---|---|
| ||||
The collection interpreters are used to express any kind of groups, lists or sets of values. When a collection interpreter is executed, compares the list of values expected with the list of values returned by the system under development. The test result depends on the specific collection interpreter selected.
|
Specific keywords
None
Colouring
will visually indicate the test result by colouring the rows:
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
As expected, the row is returned by the system under development. |
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
A row is missing or in surplus in the list returned by the system under development. |
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
If the system encounters an execution error, the cell is in yellow, and provides information about the error. |
Particular behaviour for the list of interpreters:
Since the ListOfInterpreter expects to match exactly the expected list and the list returned by the SUD, compares each cell of the table separately. If the expected value is different from the returned value, colours the cell in red and provide the two values.
Particular behaviour for the superset of interpreters:
Since the SupersetOfInterpreter accepts that the specification may contain rows that are not contained in the SUD, will not colour the rows contained in the specification but not returned by the SUD.