News for hackers. Stuff that matters.
Re:Ask HN: Do Developers Use TDD? by stevenalowe on Friday January 22, 2021 @12:41AM (#25868706)
testing paths (integration/acceptance) is N^M complexity (where N is number of function calls in chain and M is the number of significant parameter variants); unit testing is M complexity. writing the unit test first ensures that you know what M is to start with, which makes it much easier to figure out what 'done' looks like

There are no comments on this comment yet.