Python, Software Development, UX and Product Design - Blog - STX Next

The Measurable Benefits of Unit Testing

Written by Maciej Polańczyk | Jun 21, 2018 8:03:00 AM

Articles praising the usage of unit testing are a dime a dozen. A little less popular but still readily available are articles that will try to convince you that unit tests are a waste of time, at least in some cases.

Most of them (or maybe even all?) try to prove their arguments based on feelings, on the author’s own assessment of what is good and effective or bad and inefficient.

In this article, I won’t be trying to prove which side is right.

Instead, I’m going to show you a way to measure if you can benefit from unit testing or not. You will learn all the factors you need to consider to make that decision yourself.