Last Updated: February 25, 2016
·
395
· __imom0

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!