Test::Harness features

Andy Armstrong andy at hexten.net
Wed Jun 17 11:32:30 GMT 2009


On 17 Jun 2009, at 09:32, Steve Purkis wrote:
>
>> TAP:: might be a rather poor namespace because if someone wants to
>> read POSIX test results, they can't.  And we can't even *dream* of a
>> mixture of those.  But let's ignore the namespace for just a
>> moment.  Given rather confused state of the testing world in regards
>> to standardizing output, we have a unique opportunity to:
>>
>> TAP::Parser::Grammar::TAP
>> TAP::Parser::Grammar::Ant
>> TAP::Parser::Grammar::POSIX
>> TAP::Parser::Grammar::TestNG
>> ... and so on
>
>
> Agreed on the namespace, that aside: so you're suggesting having
> pluggable grammars as well?
>
> That complicated things.  I can see the benefit though.


The whole of TAP::Harness is about TAP - I don't think that just  
plugging in a new grammar is going to work. Instead, how about:

	Test::Harness::The::World
		TAP::Harness
		TestNG::Harness
		etc

In other words we need a new layer at the outside which wraps  
different test runners.

-- 
Andy Armstrong, Hexten



More information about the tapx-dev mailing list