Hacker News new | ask | show | jobs
by tieTYT 3280 days ago
> TDD is for unit tests

Never heard anyone say this. Kent Beck has said the opposite on podcasts.

1 comments

I think it probably depends on what your definition of "unit" is. As I stress functional units that encapsulate logic and data model but don't permute state, my units are probably significantly larger (and simpler) than those of people writing more imperative/traditional-OO units (where something under TDD may encapsulate many units due to mounting complexity/complication and so require further decomposition).