No, you would not! In fact, I would argue that focusing solely on E2E tests can actually have the opposite effect, meaning, you will find less bugs.
6
Being able to observe the behavior of the program is key in testing. And we should make sure it is always easy to do it. In a few cases, though, the…
2
2
Deciding which level to write your tests is always a hard decision. On one hand, you may go for fine-grained unit testing, where you exercise one class…
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…
3
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…
2
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…
8
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…
2
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…
3
See all

Effective Software Testing