Hi Steffen, The TAP::Parser encountered a few technological issues for dealing with nested TAP. That's why the specification is that the first line *after* the nested TAP is a summary line indicating success or failure of the TAP block. As a result, TAP::Parser doesn't parse the nested TAP, but the format is backwards-compatible, allowing us to still deliver correct results (this assumes that the "summary line" success or failure matches the success or failure of the nested TAP. Cheers, Ovid -- Live and work overseas - http://www.overseas-exile.com/ Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog - http://blogs.perl.org/users/ovid/ Twitter - http://twitter.com/OvidPerl/
>________________________________ > From: Steffen Schwigon <s...@renormalist.net> >To: perl-qa@perl.org >Sent: Friday, 1 June 2012, 12:08 >Subject: Can TAP::Parser already parse nested TAP? > >Hi! > >I just got confused about the state of parsing nested TAP. > >I thought at least TAP::Parser (v24, from github) would already parse >nested TAP. Doesn't it? Do I need to turn it on somehow? > >My expectation came from Test::More propagating it like this: > > subtest 'An example subtest' => sub { > plan tests => 2; > > pass("This is a subtest"); > pass("So is this"); > }; > >but TAP::Parser parses the subtests as "unknown", regardless of me >declaring "TAP version 13" or not. > >I'm mostly interested in the state of implementation, I'm aware of the >spec discussion is in flux. > >Thanks in advance for any clarification. > >Kind regards, >Steffen >-- >Steffen Schwigon <s...@renormalist.net> >Dresden Perl Mongers <http://dresden-pm.org/> > > >