Learn how to use a temporary directory for JUnit tests, with the @TempDir annotation
Jonathan has more than 10 years of experience as a Senior Software Engineer with a focus on Java. He is particularly passionate about testing and ensuring the quality of the systems he is responsible for. He has contributed to several open source projects and can now be found in Spain looking after the ESA science archives.
Here's what I've written (so far):
Understand the reasons behind the Mockito UnnecessaryStubbingException and how to avoid it.
An in-depth look at using the ProcessBuilder API to manipulate OS processes
Learn how to enable verbose GC in Java and how to interpret the resulting logs.
A quick and practical guide to merging Properties objects.
Learn how to make use of the test support in Jersey.
Learn how to handle the MockitoJUnitRunner class deprecation warning.
Learn how to use Bean Validation with the Jersey library
A quick tutorial to understanding MVC in Jersey using Freemarker.
Explore two different ways of testing callbacks when using Mockito.
Learn how to get an object representing a Date from a String in Java