Tests make me gain time to have a coffee
These days, I focused on some refactorings and fixed some bugs.
I felt so lucky I had wrote a lot of test cases covered typical conditions before I moved some code from one module to another or split a 80 lines large function into small functions.I couldn't imagine how terrible was if I committed code without running tests.Code became more and more clear and hidden bugs came into my eyes.They saved my time so I could sit down and have a cup of coffee comfortably.
How wonderful when watching jenkins status color turn green from red!
Written by iMom0
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Debug
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#