A way to simplify unit tests on static methods

Intro This post will be simple and try to act as a discussion starter on unit testing static methods. I’m not the greatest fan of making static stuff, mainly because I’ve been burned by it in the past (the fact is that static was being used badly in those cases, but even so, if I can, I’ll avoid it) but I understand it’s the best way to do things sometimes....

September 14, 2017 · 4 min · 659 words · João Antunes