If an exception is thrown during the evaluation of the expression, then the exception is reported. No "success" or "failure" events are reported since the exception will be treated as an implicit failure.
Given the following instrumentation:
<span concordion:assertEquals="myMethod()">ABCD</span>
And given that each row in this table is an independent test, we expect these event counts:
Scenario | Event Counts | ||
---|---|---|---|
myMethod() Returns | Successes | Failures | Exceptions |
ABCD | 1 | 0 | 0 |
XYZ | 0 | 1 | 0 |
(An exception) | 0 | 0 | 1 |