in reply to Stopping included module breaking test
However, items that prove problematic to test general indicate a problem with the architecture. Personally, I like to pass configuration files into a module and have them handle both filenames and filehandles. That way, I can use IO::Scalar and File::Temp to test both options, and the code is more reusable, to boot.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Stopping included module breaking test
by loris (Hermit) on May 10, 2005 at 12:46 UTC | |
by dragonchild (Archbishop) on May 10, 2005 at 12:49 UTC |