The last Perl Code Kata was on DBD::Mock, a mock DBIdriver which is useful for testing Perl DBIappli
cations. This Kata delves once again into the world of mock objects,this time using the more general Test::MockObjectmodule.What are Mock Objects?Mock objects are exactly what they sound like: “mocked” or “fake”objects. Through the power of polymorphism, it’s easy to swap one object foranother object which implements the same interface. Mock objects take advantageof this fact, allow
continue >>
Author:
Time:
Saturday, February 9th, 2008 at 11:44 pm
Category:
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation: