good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Author tests or standard tests?by 1nickt (Canon) |
on Nov 06, 2018 at 18:11 UTC ( [id://1225317]=note: print w/replies, xml ) | Need Help?? |
Hi, I think you are on the right track. It's not that xt == author. The main thing is that Perl module installers like cpanm will not run tests in /xt. Put tests in /xt that should not be run on installation of the module. I've always used them to test post-installation functionality. So an end user might still run them, but to test that the just-installed client can connect to the server, or to run a test that depends on a given DB being available, etc. Hope this helps!
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|