On Oct 4, 2006, at 12:14 AM, A. Pagaltzis wrote:

If it’s worth boilerplating, it’s worth abstracting. How about

    use Test::More::ForAuthor [ 'ARISTOTLE' ], plan => 42;

which loads and imports Test::More, then does the exact
equivalent of the boilerplate you showed?

I disagree. It should be easy for a 3rd-party developer to glance at the .t file and figure out which envvar to use to turn on the author tests. I think your abstraction is too obscure.

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/)


Reply via email to