Friday, June 29, 2018

The Deadly Sins of Unit Testing — Part 2

Unit Testing Sloth

Have you watched the movie Zootopia? If so, then you definitely remember the sloths who work at the DMV. And what are their defining characteristics? Well, this is easy to answer: they're slow. Like, reaaaaally slow. Amazingly...incredibly...sssssslooooow.

So it makes a lot of sense to talk about unit testing speed under this particular deadly sin. This shouldn't come as a surprise to anyone-your tests should be fast. In fact, they should be amazingly-incredibly-spectacularly-super-duper-ultra-breathtakingly fast.



from DZone.com Feed https://ift.tt/2MzsOw5

No comments:

Post a Comment