On Tue, Jul 26, 2005 at 04:38:45PM +0100, Adrian Howard wrote:
> One of the things that makes Perl's standard testing framework  
> interesting is that everything is so decoupled. As long as something  
> talks TAP you can plug it in. As well as Test::Harness, you might  
> want to look at:
> 
> Test::Harness::Straps
> Test::TAP::HTMLMatrix
> Test::TAP::Model

The coupling problem comes from the issue that the TAP parser/runner 
(Test::Harness::Straps) is still tightly coupled to a single formatter 
(Test::Harness).  The original idea of THS was to hand a THS object a
Test::Harness::Formatter object (Test::Harness would be reduced to one of
these, one that produced HTML or XML is another example) and go but I got
bogged down worrying about how to write the callback interface.

Now that I've figured that out (don't use callbacks, hand the strap a
formatter object and use that) maybe I'll take another whack at finishing
it up.


-- 
Michael G Schwern     [EMAIL PROTECTED]     http://www.pobox.com/~schwern
You are wicked and wrong to have broken inside and peeked at the
implementation and then relied upon it.
        -- tchrist in <[EMAIL PROTECTED]>

Reply via email to