DEV Community

Cover image for “Good” code has unit tests and “bad”code does not
Pragyan Tripathi
Pragyan Tripathi

Posted on

“Good” code has unit tests and “bad”code does not

As everyone knows, “good” code has unit tests and “bad” code does not.

But then again —

  • Unit tests are a waste of time once you have end-to-end tests that makes sure the correctness of the product.

  • Unit tests are useless when building an exploratory prototype.

Top comments (2)

Collapse
 
pragyanatvade profile image
Pragyan Tripathi

Excellent. Will surely check it out. Which company is it?