in reply to Re^2: Unit testing OS rich code
in thread Unit testing OS rich code

I'm using touch as the quickest easiest way to create an empty file
Are you seriously arguing that using:
`touch $file`
to create an empty file should be preferred to, for example:
{ open(my $fh, '>', $file) or die "error creating empty '$file': $!"; }
on the grounds that it is "quicker and easier" to write?

If you are that stretched for time, how on earth do you expect to find time to write your proposed test mock framework?

Replies are listed 'Best First'.
Re^4: Unit testing OS rich code
by chromatic (Archbishop) on Oct 17, 2011 at 04:26 UTC
Re^4: Unit testing OS rich code
by Voronich (Hermit) on Oct 17, 2011 at 03:06 UTC
    Good grief. I'm in fact not "seriously arguing" anything at all, least of all what someone 'should' be doing.
    Me