3 ms·
"Here’s what you do instead: write integration tests for the critical parts of your application." Yes! The "unit" in unit tests makes sense when "units" are wh
by spenrose 15y ago
"Here’s what you do instead: write integration tests for the critical parts of your application."
Yes! The "unit" in unit tests makes sense when "units" are what define your code -- because you are delivering units. If you are delivering applications, focus your efforts on having quality tests for those.
(Of course competent coders will develop units, and collections of units aka libraries, along the way, and of course unit tests as such will be right for them. But the measure of an application must be taken at the application level, not at the unit- or aggregate-of-units- level.)
- bunderbunder 15y agoFor that matter, what the author complained about in the article didn't strike me as unit testing. It was testing, and it may have been done using a unit testing package, but it sounds like what was being tested was not units.