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 fileAre you seriously arguing that using:
to create an empty file should be preferred to, for example:`touch $file`
on the grounds that it is "quicker and easier" to write?{ open(my $fh, '>', $file) or die "error creating empty '$file': $!"; }
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 |