Making a source

Steve Purkis steve at purkis.ca
Thu Jul 10 12:40:27 UTC 2008


Thanks William,

If you have a sec, please do send on your Test module - it may  
highlight some use cases, or confirm existing ones.  Either way, the  
feedback would be useful.

Cheers,
-Steve

On Jul 7, 2008, at 14:41, William Seppeler wrote:

> I'll be honest and say it's hard for me to follow the topic.
>
> The extent of my TAP:: knowledge is that I once sub classed  
> Test::Builder when I wanted to create my own Test module.  I needed  
> (or at least I thought I needed) a Test module that I could have  
> multiple test instances within a single test script.  I later  
> abandoned my sub class of Test::Builder in favor of creating my own  
> Test module from scratch.  I didn't like how Test::Builder  
> instances were all linear (ie: tests were stored as an array).  It  
> was easier for me to create a Test module that stored all my tests  
> in a node tree structure.
>
> If interested, I could send you my Test module.  It would be of  
> little use since it doesn't conform to TAP::Harness.  However the  
> code is small and it gives an example of how one might implement  
> TAP as a node tree data structure.  I'm no longer using my home- 
> brew model as I think it's better to stay with the main stream.  My  
> implementation is just a simplified alternative.
>
> -William
>
> On Thu, Jun 26, 2008 at 6:03 PM, Steve Purkis <steve at purkis.ca> wrote:
> FYI: If you've got some time, it would be great to get your input  
> as a user of the TAP:: modules on this...
>
> -Steve
>
> Begin forwarded message:
>
>> From: Andy Armstrong <andy at hexten.net>
>> Date: June 26, 2008 12:06:34 BDT
>> To: "\"Test::Harness Developers\"" <tapx-dev at hexten.net>
>> Subject: Re: Making a source
>> Reply-To: "\"Test::Harness Developers\"" <tapx-dev at hexten.net>
>>
>> On 25 Jun 2008, at 23:59, Steve Purkis wrote:
>>> Also, (slightly OT) I was thinking of going OTT and introducing a
>>> SourceFactory.  This is so you could have Source::Perl,
>>> Source::Python, Source::PHP, Source::YerMom, etc.  The current  
>>> source
>>> could move to Source::Shell (or ::Command).  I don't know how silly
>>> that is, it's 7 to midnight after all, but the idea was to make it
>>> really easy to extend sources.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.hexten.net/pipermail/tapx-dev/attachments/20080710/af88d96b/attachment.htm 


More information about the tapx-dev mailing list