On Sun, May 13, 2001 at 05:16:24PM -0700, Kevin Connor wrote:
> does anyone have thoughts as to how to assert the results of an external
> process?
>
> sub assert_cmd
> sub CheckRetVal
Well it's probably the sort of thing people would customise by rolling
their own, (eg. the selftest I rolled to run examples, which does
silly tricks with the text output) but it's got some workarounds for
Win32.
It might make an interesting Test::Unit::Assertion subclass? The first
thing I'd do with it is put a wrapper in to detect Windows, check for
some special Windows-flavoured commands and then bail when it finds I
didn't bother... this would generalise to other non-un*x OSes.
Matthew #8-)
_______________________________________________
Perlunit-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/perlunit-devel