Blog Feed

Retrofitting unit tests PDF Print E-mail
Written by Jay Flowers   
Wednesday, 07 June 2006


In this paper we describe techniques that we have found
helpful for adding unit tests to existing code that has
been written without tests. The paper presents some
common coding practices that make unit tests hard to
retrofit, and why. For each practice we suggest minimal
refactorings to open up the code for testing.



Steve Freeman and Paul Simmons





< Prev   Next >
© 2020
Joomla! is Free Software released under the GNU/GPL License.