© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
J. F. Dooley, V. A. KazakovaSoftware Development, Design, and Codinghttps://doi.org/10.1007/979-8-8688-0285-0_18

18. Unit Testing

John F. Dooley1   and Vera A. Kazakova2
(1)
Galesburg, IL, USA
(2)
Columbia, MD, USA
 

More than the act of testing, the act of designing tests is one of the best bug preventers known. The thinking that must be done to create a useful test can discover and eliminate bugs before they are coded—indeed, test-design thinking can discover and eliminate bugs at every stage in the creation of software, from conception to specification, to design, coding and the rest.

—Boris Beizer

You can see a lot by just looking.

—Yogi Berra

As was emphasized ...

Get Software Development, Design, and Coding: With Patterns, Debugging, Unit Testing, and Refactoring 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.