[Pdx-pm] Newbie question about testing and Perl

Colin Kuskie ckuskie at dalsemi.com
Thu Jul 13 08:41:06 PDT 2006


On Thu, Jul 13, 2006 at 02:38:20PM +0000, Keith Lofstrom wrote:
> 
> Newbie question:
> 
> When testing a module that is concerned with a hardware device
> ( Device::SerialPort using /dev/ttyXX ) or an external non-Perl
> program ( Dirvish using rsync ), why don't the Perl programs test
> against an emulation, rather than the real thing?

Do you mean like Test::MockObject?

Colin


More information about the Pdx-pm-list mailing list