News for hackers. Stuff that matters.
Re:Integrated Tests Are A Scam by jmcgough on Saturday January 04, 2014 @12:09AM (#7010036)
I don't think that integration testing is sufficient (you will never catch every bug by writing tests - programming is too complex to expect any one coder to be perfect all the time). I'd also argue that writing too many integration tests can become a burden - having to change hundreds of tests when a site/app changes is tedious and time-consuming.

However, that doesn't mean that integration testing is useless. Writing a few tests to verify that mission-critical functions (like website registration) are working can save you when something goes wrong, and it's more efficient than doing manual regression testing every release.

Lastly, I really wish the author would give suggestions for what he considers to be a better approach to testing, beyond "integration testing sucks and is a scam".

Re:Integrated Tests Are A Scam by phiggy on Saturday January 04, 2014 @04:30PM (#7013033)
Lastly, I really wish the author would give suggestions for what he considers to be a better approach to testing, beyond "integration testing sucks and is a scam".

He has more articles on better approaches than integration tests, but I haven't read them yet so I can't say if they answer your questions sufficiently: http://blog.thecodewhisperer.com/blog/categories/integrated-...