Issue No. 03 - May/June (2007 vol. 24)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/MS.2007.84
Joshua Kerievsky , Industrial Logic
"Point Argument: Mock Objects: Find Out Who Your Friends Are," by Steve Freeman and Nat Pryce. Mock objects help guide object-oriented programming by concentrating on what objects do, no what they are. "Counterpoint Argument: "TDD: Don't Much It Up with Too Many Mocks," by Joshua Kerievsky. Routinely test-driving code with mock objects leads to premature object composition, hard-to-read and fragile code, and lost time. This department is part of a special issue on test-driven development.
mock objects, object-oriented programming, program testing, test-driven development
Steve Freeman, Joshua Kerievsky, Nat Pryce, "Point/Counterpoint", IEEE Software, vol. 24, no. , pp. 80-83, May/June 2007, doi:10.1109/MS.2007.84