News for hackers. Stuff that matters.
Re:Why Most Unit Testing is Waste (2014) [pdf] by kitsune_ on Monday May 30, 2016 @01:09AM (#11799666)
That's one of the dirty little secrets with end to end tests that almost no one talks about. You will probably spend more time running after ghosts in the machine than finding actual bugs.
Re:Why Most Unit Testing is Waste (2014) [pdf] by Arnt on Monday May 30, 2016 @03:14AM (#11800025)
I've had that experience too. But also the opposite.

I've worked both on code where writing the tests was more effort than the code, and on code where writing the tests was easy, quick and helpful. The latter makes sense, after all a good test is straightline code, zero ifs, zero loops. But the former?

I think the key is that mocking should be used sparingly, but without hesitation.

Re:Why Most Unit Testing is Waste (2014) [pdf] by crdoconnor on Monday May 30, 2016 @05:25AM (#11800439)
Plenty of people talk about it:

http://googletesting.blogspot.co.uk/2015/04/just-say-no-to-m...

The dirty little secret that nobody talks about is the cause of the ghosts: poorly engineered tests.