The much anticipated release of JUnit 5 is almost here and Spring 5.0 will have official support for it. However, it’s still possible to run JUnit 5 Tests within your current Spring applications right now. I’ll show you how to bring you testing to the next level by using Spring Boot and JUnit 5. This Post concentrates on the new ability to Dependency Inject right into our @Test method parameters. I warn you though, after getting a taste of this … there’s no going back!
Spring Boot Integration Testing (Slice and Dice)
You can achieve some amazing results with Spring Boot Test for your Integration Testing. I’ll be covering how to execute different groups (sub-sets) of Integration Tests which cover different layers (or slices) of your application. Applying this layered approach will give you increased flexibility and the opportunity to identity problem areas earlier on.
Continue reading “Spring Boot Integration Testing (Slice and Dice)”
Dockerfile Tip , 1 You Won’t Forget
There are lots of Dockerfile tips and best practices out there but the problem is, who can remember them all ! In the end, all that matters is building a Docker Image as fast as possible and keeping it lean and mean. I’m going to cover 1 easy to remember Dockerfile tip that will serve you well going forward.
JDK 9 Migration : 5 point checklist for Garbage Collection
Thinking of migrating your applications to JDK 9? Although there are many changes to be aware of for a successful JDK 9 migration, I’ll focus on summing up the Garbage Collection changes you’ll need to have on your radar in order to avoid some possible surprises.
Continue reading “JDK 9 Migration : 5 point checklist for Garbage Collection”
Docker for your Java Development Environment
Tired of setting up your Java Development Environment over and over again for different machines, environments or platforms? Me too! That’s why I now run my Java Developer Environments inside a Docker Container. Problem Solved.
Continue reading “Docker for your Java Development Environment”