News for hackers. Stuff that matters.
Re:Why Most Unit Testing is Waste [pdf] by collyw on Thursday March 06, 2014 @10:13AM (#7354085)
I have been adding integration tests. Its an in house app, so constantly changing, and constantly in beta.

I wanted to start adding unit tests a couple of years back, but looking back, I don't think it would have gained very much, and cost a lot of time (creating the data to test the parts).

If there is a functional unit that does one specific thing, I could see it being useful to test. But most of my app basically queries a database and displays the results. The bugs I do get would rarely have been caught by unit tests.

There are no comments on this comment yet.