Return to site

UNIT TEST: FIRST properties of unit tests

· devops

Robert C. Martin, also known as Uncle Bob,

is a world leader in software development and author of several books on agile development,

he defined, in his Clean Code writing, some basic principles for the development of unit tests

known by its acronym FIRST (fast, independent, repeatable, self-validating, timely).


Many hundreds or thousands per second 


Failure reasons become obvious 


Run repeatedly in any order, any time


No manual evaluation required


Written before the code