By default, exceptions are reported but Concordion continues
processing the rest of the test. With the @FailFast
annotation on a test, processing of a test is
stopped once an exception is encountered.
In the case where a test that is annotated with @FailFast calls another test annotated with @FailFast, an exception encountered in the lower level test will stop processing of both tests.
The following examples use this setup of tests:
If just the lower level test was annotated with @FailFast
, we would expect
1
successful command (from the higher level test) and
1
exception.
If both tests are annotated with @FailFast
, we would expect
0
successful command (from the higher level test) and
1
exception.