News for hackers. Stuff that matters.
Re:Write tests. Not too many. Mostly integration by mpweiher on Friday October 27, 2017 @05:51AM (#15566967)
> unnecessary abstraction and boilerplate patterns

That means you didn't actually change the code. It means you added unnecessary abstractions around your code in order not to change it.

Unit tests guide you towards simplicity. In my experience, the only times they haven't done that is when I have made some assumptions about what the code should be and not allowed the tests to drive me towards that simplicity.

http://blog.metaobject.com/2014/05/why-i-don-mock.html

There are no comments on this comment yet.