Some seem to use (their personal idea of) unit testability as a proxy for maintainability or quality. That is often invalid.
I've written some high-quality code and tested it to death¹, only to be told that it probably wasn't unit testable (because dependencies were hard coded instead of injected, IIRC). Making that code unit testable would have complicated it, thus lowering its maintainability.
[1] Not a single bug has ever been found after my tests.
I've written some high-quality code and tested it to death¹, only to be told that it probably wasn't unit testable (because dependencies were hard coded instead of injected, IIRC). Making that code unit testable would have complicated it, thus lowering its maintainability.
[1] Not a single bug has ever been found after my tests.