2 ms·
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 year
by collyw 13y ago
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.