in reply to Tests in a module/package?
My normal approach for handling this case is to make a lib directory under t directory for test library code. I can then use FindBin to add that directory to any test files that need it. I'm not sure where I got this idea. (I'm pretty sure it's not mine.)
This allows me to keep testing-specific utility code out of t/ but close by.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tests in a module/package?
by andreas1234567 (Vicar) on Mar 12, 2009 at 09:53 UTC | |
|
Re^2: Tests in a module/package?
by doom (Deacon) on Mar 14, 2009 at 18:27 UTC |