[tap-l] Use skip or SKIP for skipped tests?

H.Merijn Brand h.m.brand at xs4all.nl
Fri Sep 9 07:27:51 BST 2011


On Thu, 8 Sep 2011 16:54:08 -0700 (PDT), "Bruno P. Kinoshita"
<brunodepaulak at yahoo.com.br> wrote:

> Hello all!
> 
> In tap4j (Java TAP implementation) TAP parser, I am considering that
> a TODO directive is a # followed by zero or more spaces and the text
                                      ^^^^^^^^^^^^
> TODO. Same goes with the SKIP directive (#\s+SKIP...). 
                                            \s*

> In Jenkins TAP Plug-in an user created an issue regarding the SKIP
> directive generated by Test::More (it uses skip, not SKIP). After
> reading the testanything.org site, Test::More CPAN documentation and
> googling for a while, I found that there are places saying that a SKIP
> directive should be like #SKIP and places that said that it should be
> like #skip.
> 
> I would like to hear your opinion on this issue. Does anybody know
> what is the de facto standard? I am trying to follow what is in the
> TAP specification, and not the way that a tool implemented it :-)

If there is no standard on this yet, I'd prefer m{#\s*SKIP\b}
If (conflicting) standards allow both, m{#\s*SKIP\b}i

> Thank you in advance.
> 
> Best Regards,  
> Bruno P. Kinoshita
> kinoshita.eti.br

-- 
H.Merijn Brand  http://tux.nl      Perl Monger  http://amsterdam.pm.org/
using 5.00307 through 5.14 and porting perl5.15.x on HP-UX 10.20, 11.00,
11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.4 and AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/


More information about the tap-l mailing list