Category: testing
-
Faster Testing of the JPA Repository in Spring Applications
In the ‘Clean Code‘ book, Uncle Bob defined the five characteristics of a clean test. Those characteristics have the acronym FIRST; which stands for Fast, Independent, Repeatable, Self-Validating, and Timely. For this post, let’s focus on the ‘Fast‘ attribute! Here, I will demonstrate (through code) how to make testing the repository layer of the Spring Application…