Hand-rolled mocks made easy: A hybrid approach to writing mock objects
Hand-rolled mocks made easy: A hybrid approach to writing mock objects
Submitted by webmaster@testdriven.com (Links) on Sun, 30/07/2006 - 23:02.Unit testing is something we all need to do, but getting good code coverage can be a daunting task. In this article, Gary Tong focuses on one of the basic elements of unit tests: mock objects. Using a hybrid static/dynamic approach, he shows how flexible, useful mock objects can be written in a matter of minutes.
Author: Gary Tong
Published: JavaWorld, July 31, 2006
Author: Gary Tong
Published: JavaWorld, July 31, 2006
