in reply to code duplicate in tests -- code or custom module only needed to test
If you have dependencies which are required only by the tests then it is important to flag them as such. If you use ExtUtils::MakeMaker then TEST_REQUIRES is the key. This has the following benefits:
FWIW, I agree with Corion and haukex that option 1 is likely to be the best path.
|
---|