June 2014
Intermediate to advanced
284 pages
6h 9m
English
If you would like Mockito to append some additional warning messages to the console, which would help you when your test fails, then this recipe is perfect for you. It's very much related to the previous one so, in order to understand the background, please refer to the introductory part of the previous recipe.
Remember that this feature is experimental and the API, name, or anything related to it may change in time. What's more, the whole feature may get deleted in time!
If you want to have more information presented in your error message, you have to perform the following steps:
@RunWith(ConsoleSpammingMockitoJUnitRunner.class) ...Read now
Unlock full access