From: David Wheeler [mailto:david@;wheeler.net] > On Sunday, November 10, 2002, at 07:36 PM, Joseph F. Ryan wrote: > > # simple substitution > > my $var = "perl5"; > > $var =~ s/\d/6/; > > > > While this is completely valid perl6, and something that > > might want to be included in the regex test suite, it > > won't pass neither the P6C parser tests, nor the P6C > > compiler tests, nor the P6C regex tests, because > > substitution isn't implemented yet. > > With all do respect, this is what TODO tests are for.
Can anyone write up a detailed document describing how one would go about writing Perl6 test cases and submitting them to Parrot? The parrot documentation on testing, is understandably focused on testing parrot... not the languages running on parrot. I can't find any writeup or overview on the Perl5 regression test framework. Which is odd, because I'd expect something like that to exist in the core documentation. -Perhaps I'm just missing it... Otherwise useful links include: A basic guide to writing tests for Parrot http://www.parrotcode.org/docs/tests.pod.html chromatic's: An Introduction to Testing http://www.perl.com/pub/a/2001/12/04/testing.html And there's the Perl QA sites: http://qa.perl.org/ http://magnonel.guild.net/~schwern/cgi-bin/perl-qa-wiki.cgi And Michael G. Schwern's: http://magnonel.guild.net/~schwern/talks/Writing_A_Test_Library/full_slides/ but -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com [EMAIL PROTECTED]