Write Small Tests

Small tests are easier to understand. Small tests are limited in their scope. Small tests most likely test one facet of the behavior. Small tests are less likely to incur coupling. Small tests are easier to diagnose when they fail. Need I say more?

Get Quality Code: Software Testing Principles, Practices, and Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.