in reply to Careful with Test::Pod::Coverage
Running tests on the target machine allows to discover portability problems and bugs that didn't show on the module author environment. But pods are just documentation, they are not affected by the environment, if they were right on his computer when he tested them before packing the module, they are going to be the same on the target system, so why bother testing them and actually introducing new code that, as in your case, can contain new bugs? it is just counterproductive!
A good aproach could be to skip pod tests unless they are explicitely requested by the user installing them, for instace defining some enviroment var (TEST_PODS) or looking for some dummy file on the file system.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Careful with Test::Pod::Coverage
by Aristotle (Chancellor) on Nov 13, 2005 at 22:03 UTC | |
by chromatic (Archbishop) on Nov 13, 2005 at 22:21 UTC | |
|
Re^2: Careful with Test::Pod::Coverage
by xdg (Monsignor) on Nov 14, 2005 at 01:30 UTC | |
|
Re^2: Careful with Test::Pod::Coverage
by cog (Parson) on Nov 14, 2005 at 01:54 UTC | |
by chromatic (Archbishop) on Nov 14, 2005 at 04:45 UTC | |
by Perl Mouse (Chaplain) on Nov 14, 2005 at 11:04 UTC | |
by tirwhan (Abbot) on Nov 14, 2005 at 11:11 UTC | |
by demerphq (Chancellor) on Nov 14, 2005 at 11:37 UTC |