Re:The evil unit test.
by RandallBrown on Monday January 30, 2012 @06:12PM
(#3531021)
It is really easy to write bad tests. That doesn't mean that you shouldn't write any, but just "writing good tests" can be really hard.
This just means your tests are bad. Write good tests and you won't have this problem.
Integration and functional tests are good, but only as a quick sanity check. The nitty gritty details need to be handled by good unit tests; the functional tests only tell you things like "did the RPC protocol change" or "does the database cache actually cache something".