DEV Community

loading...

Discussion on: What are your biggest problems with unit testing?

alexbunardzic profile image
Alex Bunardzic

In simpler terms, writing unit tests first is the equivalent of measuring before you cut. If you hire a contractor and they start measuring before they begin to cut (whatever the task at hand might be), you would look foolish if you start to complain about why are they wasting their time on measuring.

The same applies to software development. No one has a valid argument complaining that you writing a unit test (you measuring before you cut) is a wasted effort. Those arguments simply do not hold water under any circumstances.

Thread Thread
thinkdigitalsoftware profile image