Re: [Module::Build] [RFC] author tests
Status: Beta
Brought to you by:
kwilliams
|
From: Chris D. <ch...@cl...> - 2006-02-02 04:49:38
|
On Feb 1, 2006, at 10:28 PM, David Golden wrote: > Chris Dolan wrote: >> I am not wed to the t/*.ta convention or the name of the ACTION. >> What do others think of the concept in general? > > What if "authortest" instead set an environment variable prior to > running the normal "test" action? (Look at "testcover" as an > example of this.) > > Then .t files could take various actions based on the presence of > that environment variable. At the most basic -- just skip_all. > However, this would also allow perhaps more diagnostic information > to be provided for the author if desired. > > My point is that making it *.ta specific allows only one way of > doing author testing. The environment variable way just signals > that author testing is being requested and lets the existing test > scripts choose how to respond. That's pretty smart. It certainly requires less coordination, and would work fine with normal EU::MM setups (just manually set the envvar). Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media, Inc. - Creators of MediaLandscape Software (http://www.media-landscape.com/) and partners in the revolutionary Croquet project (http://www.opencroquet.org/) |