In order for TODO tests to work Test::Harness must be upgraded (only 5.8.0
ships with a T::H able to parse TODO tests).  An upgraded version of
Test::Harness can simply be distributed with Parrot the same way Test::More
is.


On Mon, Nov 11, 2002 at 02:31:50PM -0600, Garrett Goebel wrote:
> 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...

pod/perlhack.pod contains some issues specific to the Perl 5 core.  Most of
them have to do with legacy and bootstrapping problems (ie. when you're
testing yourself with yourself).  The most important for Parrot is "you must
burn a small sacrifice to cross-platform compatibility when writing core
tests", but I don't think you can even write incompatible code in Parrot yet
the way you can in Perl 5.

Otherwise, they're just normal tests and are handled by things like
Test::Tutorial, Test::More and Test.pm.  Details on the test output protocol
can be found in Test::Harness.


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


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
Don't ask me lady, I live in beer.

Reply via email to