in reply to Re: Unit testing OS rich code
in thread Unit testing OS rich code
The interesting part isn't the if part. It's the expression.
If that's not worth testing, so be it—but I've fixed enough bugs in file-handling code that I don't assume that relative paths are correct just because they look like constant expressions.
Improve your skills with Modern Perl: the free book.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Unit testing OS rich code
by BrowserUk (Patriarch) on Oct 13, 2011 at 00:09 UTC | |
by chromatic (Archbishop) on Oct 13, 2011 at 00:20 UTC |