[tapx-dev] Automated test report for TAP::Parser r226

Michael Peters mpeters at plusthree.com
Tue Aug 14 20:11:55 BST 2007


Andy Armstrong wrote:

> OK, understood. I got close to exposing a raw TAP hook in the parser.  
> I presume that might be helpful?

That would be very helpful. I'd need it to not only give me the raw tap (either
line-by-line or the whole thing I don't really care) but the filename/url it
belongs to as well.

>> Maybe I should whip up a patch so we could have something more  
>> concrete to debate.
> 
> Good plan :)

Just thinking about it initially I'd like to put as much of the logic in
runtests instead of in TAP::Harness. If there's a raw TAP hook exposed then this
would be really easy to do. If not then I'd have to pass the parameters (achive
file name and possibly type) down into the TAP::Harness.

Maybe I need to step back a bit... What I want is for Smolder users to simply be
able to 1) cpan-install-thingy 2) use thingy to run tests and get a tap archive
from it. I thought that since the tap archive format was not specific to smolder
it should be a part of runtests or prove. But it doesn't have to be as long as
it's not part of smolder. So if TAP::Harness could expose the right hooks I'd be
glad to make this a separate module/script... well if I could come up with a
good name for it I would :)

-- 
Michael Peters
Developer
Plus Three, LP



More information about the tapx-dev mailing list