In the following example, the complete test suite cannot be rund because connecting to mongodb://[::1] fails.
However, the test suite does not show any error, and even exits with status code 0. When #[Before]-methods fail with a prerequisite not being met, this is OK, but when another unexpected error occurs, we should see its cause somewhere. Currently the only way is to add a try-catch-block to the method and print the stack trace manually.
In the following example, the complete test suite cannot be rund because connecting to
mongodb://[::1]
fails.However, the test suite does not show any error, and even exits with status code 0. When
#[Before]
-methods fail with a prerequisite not being met, this is OK, but when another unexpected error occurs, we should see its cause somewhere. Currently the only way is to add a try-catch-block to the method and print the stack trace manually.