On Thu, Oct 18, 2001 at 01:01:23AM -0600, chromatic wrote: > Relying on reliable networking is pretty unportable, and it's really hard to > get useful test information that way. I coded up some mock objects for > IO::Socket and IO::Select that made this test much easier.
Yes, this is the right way to go! It does rely on knowing that Net::* use IO::Socket and fiends^Wfriends, but that's ok. If it works out, we can generalize Net::Mock and dump it into t/lib/ where other test can get at it. > Someone has to get this done, though, and if doing things the Max > Power way (wrong, but faster and with more yelling) shakes out > better ideas, I'll rush in where fools fear to tread. Only if you sing the Max Power song while you do it. > +use Test::More 'no_plan'; I was about to rewire t/TEST and vms/test.com to understand no_plan tests and decided it would be too much invasive surgery to get it right. I still have the patch lying around and could put it in if you need it. -- Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One You can't control the universe with a jar of red pepper. http://www.goats.com/archive/981004.html