Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

rjbs (4671)

rjbs
  (email not shown publicly)
http://rjbs.manxome.org/
AOL IM: RicardoJBSignes (Add Buddy, Send Message)
Yahoo! ID: RicardoSignes (Add User, Send Message)

I'm a Perl coder living in Bethlehem, PA and working Philadelphia. I'm a philosopher and theologan by training, but I was shocked to learn upon my graduation that these skills don't have many associated careers. Now I write code.

Journal of rjbs (4671)

Thursday April 10, 2008
04:03 PM

release testing for module::install

[ #36124 ]

As threatened, I have written and uploaded an improved replacement for Module::Install::AuthorTests. It's Module::Install::ExtraTests. It's scary and probably somewhat ill-advised, but it seems to work just fine. It takes away some of the configurability of AuthorTests, but it's way more useful, I think.

Basically, you add one line to your Makefile.PL:

extra_tests;

That tells it that you might have something like this:

./xt/author/live-tests.t
./xt/release/perl-critic.t
./xt/release/pod.t
./xt/r elease/pod-coverage.t
./xt/smoke/diag-rig-info.t
./xt/smoke/test-rig.t

The author tests would only be run when run in the author's working copy (a concept dealt with by Module::Install). The release tests are only run during make disttest, when RELEASE_TESTING has been set. The smoke tests are only run during smoke testing, when AUTOMATED_TESTING has been set.

Making this work required doing ugly things. I'm not sure how reliable it will be, but I'll make a release or two of things using it, in the next few days, and we'll see what happens.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.