November 2024
Intermediate to advanced
300 pages
7h 12m
English
Your tests should execute cleanly, showing only a summary with the passing and failing tests. Don’t allow your test run to be littered with dozens or perhaps hundreds and more lines of log messages, “expected” exception stack traces, and System.out.println clutter.
|
|
Ensure test execution does not pollute console output. |
When your test summary is clean, any new exceptions will stand out like a sore thumb rather than get lost in a sea of stack traces. You’ll also easily spot any new console output that you’ve temporarily added.
In the prior section, you split one larger test into two. Now, when you run ...
Read now
Unlock full access