[Melbourne-pm] Testing: stub modules and Test::More.

Daniel Pittman daniel at rimspace.net
Mon Mar 5 18:38:03 PST 2007


"Steve Sabljak" <steve at sabljak.org> writes:

> I think MockModule only overrides functions in existing modules, it
> doesn't take any measures to avoid loading the module.  Kirrily
> mentioned Test::MockObject. 

Yes -- thanks to both of you for the pointer.  That does what I need,
after taking the time to write the 'import' based version of the mock
object.

Regards,
        Daniel
-- 
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/


More information about the Melbourne-pm mailing list