News for hackers. Stuff that matters.
Re:Write tests. Not too many. Mostly integration (2017) by marcosdumay on Thursday January 31, 2019 @06:10PM (#19049967)
Why are you testing how the responsibility is divided between classes?

Yes, some times you have to make an unclean cut into your code to test something. But this is not the default situation. That's why the article has that "mostly integration" part on its title.

Re:Write tests. Not too many. Mostly integration (2017) by Double_a_92 on Friday February 01, 2019 @03:31AM (#19052554)
I think his argument was that unit tests don't hold up to "real-world" refactorings, because most of the time you change the interface of your classes. Unit tests work nicely if you have one fixed interface and you just refactor some specific implementation of that.