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.)
In reply to Re: How to organize and install test files
by chromatic
in thread How to organize and install test files
by roman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |