[Module::Build] proposed patch for "testauthor" action
Status: Beta
Brought to you by:
kwilliams
|
From: David G. <da...@hy...> - 2006-02-04 22:06:40
|
Following the notion that actions speak louder than words, I offer the
attached patch against the current CVS head. (Including test file and
documentation.)
It provides a "testauthor" action that sets $ENV{AUTHOR_TESTING} to 1
before running the "test" action.
The name of the action follows the pattern set by "testdb", "testpod",
"testcover", etc. The environment variable follows the pattern of
"AUTOMATED_TESTING" used by the CPAN smoke tests.
The functionality itself took less than 60 seconds to write. The
longest part was figuring out how to write a test for it. (0.29
wishlist: more test refactoring.)
Regards,
David
|