TDD in Spring Boot
When I was first introduced to the concept of TDD, I admit I was quite skeptical. I felt the concept of writing unit tests before the code itself just seemed ridiculous, or, in other words, crazy. I was not different from others who felt it was just an added process to slow down an already jam-packed development life cycle. But now, having explored the use of TDD during application development with Spring Boot 3.0, I know that this is not the case.
Spring Boot 3.0 was a very fantastic platform to go for TDD-based work. I’d just taken on a new project and started moving forward based on the concept of TDD. The process itself was awkward, to say the least. It’s like pre-judging the future through writing a code test for code that doesn’t even exist. However, I continued with it. The unit tests literally drove the writing of the code in a way that I’ve never seen before. Having a clear and defined purpose in every single test and the development...