2023-05-03 11:06:20 +02:00
|
|
|
=== Exceptions
|
2021-08-13 16:51:27 +02:00
|
|
|
|
2024-08-09 10:58:55 +02:00
|
|
|
This rule ignores:
|
|
|
|
|
|
|
|
* single-line tests, since it is obvious in such methods where the exception is expected to be thrown
|
|
|
|
* tests when it tests control flow and assertion are present in either a `{keyword_catch}` or `{keyword_finally}` clause
|
|
|
|
|
|
|
|
include::{language}/flow-example.adoc[]
|