On Monday 21 August 2006 21:56, Ovid wrote:
> ----- Original Message ----
> From: Shlomi Fish <[EMAIL PROTECTED]>
>
> > I'd like to make use of TAPx::Parser in Test::Run. Another thing I'd like
> > to do is extract all the non-core functionality from the main Test::Run
> > module into plugins. I did not completely forget it, just was busy.
>
> Thanks!  Let me know if there's anything you need changed which can support
> this.

Sure.

>
> > Speaking of tests, I wrote Test::Count, and placed it on the CPAN:
> >
> > http://search.cpan.org/dist/Test-Count/
> >
> > Its purpose is to keep track of the number of tests in a test script, by
> > having meta-comments in the code.
>
> No offense, but I can't tell from the docs how to use this.
>

This has to be remedied, I guess.

Quick primer:

"# TEST*[[EXPR]]" add [[EXPR]] tests to the total. "# TEST+[[EXPR]]" does the 
same.

"# TEST:$VAR1=[[EXPR]];$VAR2=[[EXPR]];" are variable assignments. You can 
later use these variables in subsequent lines.

Note that the space after the "#" is significant and "TEST" is always 
uppercase. But I'll write this in the POD.

Regards,

        Shlomi Fish 

> Cheers,
> Ovid

-- 

---------------------------------------------------------------------
Shlomi Fish      [EMAIL PROTECTED]
Homepage:        http://www.shlomifish.org/

Chuck Norris wrote a complete Perl 6 implementation in a day but then
destroyed all evidence with his bare hands, so no one will know his secrets.

Reply via email to