Re: [Module::Build] [RFC] author tests
Status: Beta
Brought to you by:
kwilliams
|
From: David G. <da...@hy...> - 2006-02-02 04:29:32
|
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. Regards, David |