Definition
Specific Keywords for expected values
offers a list of useful keywords to support the Business Expert.
| Empty cells |
When a test cell is left blank, only shows the returned value |
| error |
When you expect an error, specify it in the cell to test that particular behavior |
Coloring
will visually show the test result by coloring each testing cell:
When the expected value match the returned value, the RuleForInterpreter colors the cell as "right" by coloring it green.
If the values don't match, the RuleForInterpreter colors the cell as "wrong" in red.
If the system encounters an execution error, the cell is colored yellow and
provides information about the error.
If no expected value is specified in a test, the RuleForInterpreter colors the cell in gray.
Here is an example of cell coloring:
| rule for |
calculator |
| x |
y |
sum? |
product() |
quotient? |
| 10 |
0 |
10 |
0 |
0 |
| 6 |
3 |
9 |
-5 |
|