What do you call the practice of writing a test before the code is written?
design for testability
test then code
test-driven development
unit testing