News for hackers. Stuff that matters.
Re:Is TDD Dead? (2014) by phkahler on Wednesday August 26, 2020 @09:08AM (#24282088)
>> When people talk about "unit tests", a unit doesn't refer to the common pattern of "a single class". A unit is a piece of the software with a clear boundary. It might be a whole microservice, or a chunk of a monolith that is internally consistent.

Its OK to dislike unit testing, but please don't redefine the term to avoid it. That's not helpful. Instead try to find the papers (by NASA or IBM?) That show unit testing finds only very few actual bugs, making it low value.

That said, there are IMHO some units worth testing more.

Re:Is TDD Dead? (2014) by bcrosby95 on Wednesday August 26, 2020 @09:57AM (#24282504)
They aren't redefining it though. The term has always been fuzzy. A common boundary of unit testing has always been a module's publicly exposed interface.
Re:Is TDD Dead? (2014) by Izkata on Thursday August 27, 2020 @12:30AM (#24290118)
Wasn't the "clear boundary" definition the original, that was later interpreted as syntactic boundary (function/class) instead of semantic boundary (a chunk of business logic)?
Re:Is TDD Dead? (2014) by sixdimensional on Wednesday August 26, 2020 @10:53AM (#24283004)
Integration tests vs. unit tests.