in reply to How to organize and install test files
Write your tests with Test::Class, keep them in your lib/ directory as if they were normal modules, and let them get installed as normal.
If you want to be extra clever, check caller and have them run themselves if they're invoked directly. (Pod::ToDemo uses a similar trick.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to organize and install test files
by roman (Monk) on Oct 15, 2007 at 13:29 UTC |