Re:Why Most Unit Testing Is Waste [pdf]
by abritinthebay on Tuesday October 31, 2017 @08:34AM
(#15592721)
Yes, I agree. Unit tests should test the smallest unit of work and build like LEGO bricks.
What the Article describes are tests but I would not call them unit tests.
Despite the inflammatory title, the point the PDF is making I believe is that unit tests should be kept short and simple, and convey the intent of your code.
Intent is akin to the 'why' - written code explains the 'how' and 'what' extremely well, but without the 'why' it loses all meaning. Writing tests to convey intent is essential because no computer or programming language can do this for us currently, so it's left up to us.