Category: TDD
-

Expressive Tests in JUnit 5 Using Nested Test Classes
I discovered some nice features in JUnit 5 that I haven’t really seen before in the wild, so I thought I’d share them with you. Testing frameworks like JUnit allow for pretty expressive tests if used well. Features I’ve already been using a lot for some time now are things…
-

Do Unit Tests Make Refactoring Harder?
This is probably one of the most common narratives against TDD (test-driven development) that I hear. It’s often stated by developers who may have shortly tried TDD at some point but then had a bad experience with it. It is very common for developers (and humans in general) to conclude…
