One of my favorite testing techniques is specification-based testing. I learned it more formally a bit later in my career, and since then, I feel my tests are just much better because of it. I explain it already in chapter 2 of my book. However, a common misunderstanding for…
There was an interesting discussion on Twitter a few weeks ago on whether we should use mocking frameworks or not. I asked to the author of the original…
My PhD supervisor used to say what words like always and never should never be used in software engineering. So, should my end-to-end tests never stub…
No, I don't! But maybe my book gives this impression, doesn't it? Most of the code we write isn't that complex. Think about it. Most methods you…
Have you even seen a test without assertions? If you work on large complex systems, then I'm sure your answer is a yes. We all know that tests without…
I would say that the main difference between my book and others out there is that I focus on systematic and effective testing. What do I mean by that…
Hey, all, I recently participated in the Software Engineering Unlocked podcast, run by Michaela Greiler. We talked about: What systematic testing is (in…
The closer your tests are to the implementation the more sensitive they are to changes. The question is: how can we make unit tests a bit more…
See all

Effective Software Testing