3 ms·
> I wouldn’t dare to write any production code without a comprehensive suite of tests. If I'm starting from scratch, I always put together at-least decent code
by commandlinefan 6y ago
> I wouldn’t dare to write any production code without a comprehensive suite of tests.
If I'm starting from scratch, I always put together at-least decent code coverage. However, most of the time I'm not starting from scratch - I'm hired to work on a framework that's been around for a while and, invariably, is not only written without unit tests but written in a way that repels unit tests (every class depends on every other class, static initializers connect to live databases, etc.)