Re: Refactoring a test program: advice sought

2003-11-17 Thread Dave Rolsky
On Mon, 17 Nov 2003, darren chamberlain wrote: > * Andrew Savige [2003-11-15 14:51]: > > I took a quick look a mod_perl and Template Toolkit (TT). > > TT has a: > > lib/Template/Test.pm > > which looks wrong to me (should that not be under t/lib instead?). > > Template::Test contains a bunch of

Re: Refactoring a test program: advice sought

2003-11-17 Thread darren chamberlain
* Andrew Savige [2003-11-15 14:51]: > I took a quick look a mod_perl and Template Toolkit (TT). > TT has a: > lib/Template/Test.pm > which looks wrong to me (should that not be under t/lib instead?). Template::Test contains a bunch of (pre-Test::More) testing methods that are geared towards wri

Re: Refactoring a test program: advice sought

2003-11-14 Thread Michael G Schwern
On Sat, Nov 15, 2003 at 02:51:26PM +1100, Andrew Savige wrote: > Michael G Schwern wrote: > > I use t/lib so the top level t/ directory doesn't get cluttered (and for > > compatibility with the Perl core which may be important later for A::T). > > Yes, I like that. Should I call it: > t/lib/Test

Re: Refactoring a test program: advice sought

2003-11-14 Thread Andrew Savige
Michael G Schwern wrote: > I use t/lib so the top level t/ directory doesn't get cluttered (and for > compatibility with the Perl core which may be important later for A::T). Yes, I like that. Should I call it: t/lib/Test/Archive/Tar... or: t/lib/Archive/Tar/Test... or something else? I took

Re: Refactoring a test program: advice sought

2003-11-13 Thread Michael G Schwern
On Thu, Nov 13, 2003 at 07:12:01PM +1100, Andrew Savige wrote: > Which model should I follow? Or are there better models out there? Well, since you're not a core module you don't have to worry about the PERL_CORE stuff. So just put your .pm file somewhere under t and use lib. I use t/lib so the