Spring Nested Transactions

Nested Transaction in Spring
Reading Time: 10 minutes

Spring nested transactions are a bit like the black sheep of the transaction family – easily misunderstood and cast aside in documentation. Nested transactions are however incredibly useful for use cases consisting of large bulk updates and/or operating over unreliable connections. Let’s take a look at how we can bring this black sheep back …  Continue reading “Spring Nested Transactions”

Spring Boot and JUnit 5

Spring Boot and JUnit 5
Reading Time: 3 minutes

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!

Continue reading “Spring Boot and JUnit 5”

Spring Boot Integration Testing (Slice and Dice)

Spring Boot Integration Testing
Reading Time: 5 minutes

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)”