How I Learned to Stop Worrying and Just Fix Tests
engineering.bookrenter.com
How I Learned to Stop Worrying and Just Fix Tests
1–4 of 4 posts
Re: How I Learned to Stop Worrying and Just Fix Tests
#2Re: How I Learned to Stop Worrying and Just Fix Tests
#3I had the exact same revelation two weeks ago, and surprisingly that is almost the same phrase I tell myself :).
Re: How I Learned to Stop Worrying and Just Fix Tests
#4I had the exact same revelation two weeks ago, and surprisingly that is almost the same phrase I tell myself :).
You know, after 2 failed upgrade attempts to Rails 3... we eventually came to the understanding that we shouldn't attempt to simultaneously make "improvements". Because without a green test suite, we had no idea if the failures were new or upgrade related. That was the cause of 99% of worry until we said "fuck it, let's just fix everything first."
Now I tend not to worry about corner cases etc while programming. I just write all the stuff I can, and write tests for all the stuff that could possibly go wrong. And let the computer figure out the bugs for me :). It somewhat reminds me of Prolog.