News for hackers. Stuff that matters.
Re:Write tests. Not too many. Mostly integration (2017) by AtlasBarfed on Friday February 01, 2019 @04:21PM (#19058755)
Most 100% code coverage unit tests break liskov substitution / interface boundaries.

But I have seen how really deep unit tests enable rapid deployment of code to prod since it produces high likelihood of correctness.

However, refactoring and the LoC bloat is also gigantic.

And we still needed integration tests, and forget about unit tests if there is a lot of network boundaries and concurrency. It might help, but it starts to fail quickly. The facades/mocks just assume too much.

If you are in java, for god's sake use Spock/groovy even if your mainline code is java.

There are no comments on this comment yet.