Re: Perl 6 Test Organization

[email protected] (Nicholas Clark) Wed, 20 Nov 2002 20:19:27 +0000
Newsgroups perl.perl6.internals,perl.perl6.documentation
Message-ID <[email protected]>
On Thu, Nov 14, 2002 at 08:53:02PM -0800, chromatic wrote:
> Brent Dax had a nice suggestion for Perl 6 test organization.  I like it
> tremendously.
> 
> I repost it here to solicit comments -- to make this work, I'll need to change

Did anyone comment on it? It seems a sane to me, and I certainly can't suggest
a better way to do it.

[I'll quote the rest of the message so that everyone can read it again if they
want to]

> the Perl 6 test harness to find all of the tests.  I'll also need to create
> several different subdirectories as appropriate.  Rearranging things after the
> fact is a bit of a chore with CVS (if you want to keep revision history), so I
> welcome feedback.
> 
> Brent's post follows.
> 
> On Tue, 12 Nov 2002 10:01:44 +0000, Brent Dax wrote:
> 
> > I don't see why we can't do this.
> > 
> > 	t/
> > 		var/
> > 			scalar/
> > 				string/
> > 					to_bool.t
> > 					from_bool.t
> > 					...
> > 					regress.t
> > 				num/
> > 				bool/
> > 				ref/
> > 				typed/
> > 				prop/
> > 				taint/
> > 			array/
> > 				normal/
> > 				sized/
> > 				typed/
> > 			hash/
> > 				normal/
> > 				restricted/
> > 				typed/
> > 			code/
> > 				normal/
> > 					proto/
> > 					vari/
> > 				curry/
> > 				anonymous/
> > 					placehold/
> > 		oper/
> > 			normal/
> > 				arithmetic.t
> > 				string.t
> > 				list.t
> > 				logic.t
> > 				junction.t
> > 				misc.t
> > 			vector/
> > 				arithmetic.t
> > 				string.t
> > 				list.t
> > 				junction.t
> > 				misc.t
> > 		regex/
> > 			alone/
> > 			grammar/
> > 				TestGrm/
> > 		module/
> > 			TestMod/
> > 			meta.t
> > 			export.t
> > 			globals.t
> > 		class/
> > 			TestCls/
> > 			...
> > 
> 
> -- c

Nicholas Clark
-- 
INTERCAL better than perl?	http://www.perl.org/advocacy/spoofathon/