Hacker News new | ask | show | jobs
by Tainnor 1621 days ago
I wholeheartedly agree that people can't agree on what "unit test" means precisely, either (even though I think your specific examples are a bit disingenuous). In particular, classical and London-school / mockist TDD have rather different definitions of it.

That's why it's important to have a well-rounded test strategy with different types of tests that have different purposes, instead of using some blanket approaches.

1 comments

How on earth are they disingenuous?
I've never heard anyone call a test for a whole application a "unit test".
It happened to me once on hacker news. His point that was any size could be considered a "unit". Which is true, I suppose.

Also for some small command line applications.