Test-driven code reading

Test-Driven Code Reviews

Test-driven code review refers to code reviews in which tests are reviewed first. Thus the difference to ad-hoc code reviewing is mainly the order in which files, functions and methods are examined.

One of the first mentions of test-driven code review was on Google’s testing blog. Since then, the idea of reading tests first during code reviews has also been empirically validated.

This article covers the following topics:

Are you ready to learn more? Then sign-up, or log-in: It’s free.

This article first appeared on https://awesomecodereviews.com. Last updated: April 19, 2024

Profile picture of Michaela Greiler

Written by Dr. Michaela Greiler who is obsessed with making code reviews your superpower. Learn more about her workshops.