2 ms·
There are bad things about unit tests compared to any other way of getting test coverage. You have to make your architecture more complex to allow them - people
by astrange 4y ago
There are bad things about unit tests compared to any other way of getting test coverage. You have to make your architecture more complex to allow them - people call this “testable” and pretend dependency injection and other weird ways of avoiding straightforward code are good. And they rarely fail and have to be maintained.
It might be good to write them as you’re bringing up new code, but deleting the useless ones after that could be an improvement.