Unit Testing: What it is, Why you should be doing it, and how to do it

Michael Feathers defines “legacy code” as “code that has no unit tests”. Without unit tests your code is fragile, hard to change, and unreliable. Unit testing is the only way that you can be sure that your code does what it is supposed to do.

This talk discusses the basics of Unit Testing by defining terms, discussing what Unit Testing is and is not, and talking about the best techniques and practices for writing unit tests.

All the demos will be in Delphi code, but the principles all remain the same: There no longer is an excuse for not writing unit tests.

Nick Hodges

Nick Hodges is a Senior Software Engineer at Advantage Management Systems. A long time writer, conference speaker, and Embarcadero MVP, Nick lives in Gilbertsville, PA with his wife and three children.