News for hackers. Stuff that matters.
Re:TDD, where did ‘I’ go wrong by derefr on Wednesday July 02, 2014 @01:49AM (#7975448)
When you have a service-oriented architecture with small, atomic services ("microservices"), unit tests are indistinguishable from functional tests: each test suite covers exactly one unit, which performs exactly one function, which maps to exactly one service with exactly one API. (Handily, in such a scenario, the service-registry also doubles as your mocking framework.)

I think unit tests do have one important use: testing library functions, e.g. cryptographic primitives. Most people aren't writing "library code", though; they're employing it.

There are no comments on this comment yet.