Unit testing is part of the job

In one of my unit testing courses we had a disucssion I’ve been part of what feels like a million times. The question the team asked was: “How do you convince the client to pay for unit testing?” Because it adds… Continue Reading…

Gil Zilberfeld explains why some unit tests are not important to write, and may even cost you later. We don't need to get to complete code coverage by writing every unit test possible

Should We Write That Test?

As we’ve seen already, we don’t have to write every unit test possible, since not every unit test is going to help us in the future, and may even cause us some problems. Here’s an actual example I encountered. I’ll… Continue Reading…

Gil Zilberfeld explains the actual costs we pay by writing bad unit tests and integration tests

The Actual Cost of Tests – Part II

You think I was finished? I haven’t even started. The first group of associated costs to testing were around the fact that unit tests are, in fact, code and as such are susceptible to all kinds of flaws that come… Continue Reading…

Gil Zilberfeld talks about testing economics and the actual cost of unit tests

Testing Economics: The Actual Cost of Unit Tests – Part I

We talked about what we perceive as the cost of unit tests: slowing us down. That does not mean that unit tests are free. There are actual costs associated with unit tests, although they may not be what you think. I… Continue Reading…

Gil Zilberfeld talks about unit testing investment in coding time and the actual testing economics involved

Testing Economics: The Deceptive Cost Of Writing Tests

Although ROI is dead it is still useful to talk about value and cost of witing tests. When we write automated tests, regardless of it being unit, integration, end-2-end, load test, or whatever kind, the cost we have in mind… Continue Reading…

Gil Zilberfeld's Everyday Unit Testing book

Full Chapter – Unit Testing Economics

I was apparently mistaken when I said I’d publish small stuff over time. We’ll see how it goes. I’ve got a full chapter (so far) of Everyday Unit Testing: • Unit Testing Economics. – History – How did we get… Continue Reading…

Copyright Gil Zilberfeld, 2025