[tap-l] multi-file TAP

Andy Armstrong andy at hexten.net
Sun Apr 8 11:26:03 BST 2007


On 8 Apr 2007, at 10:37, Ovid wrote:
>> It should be plan 3 - two begin/end pairs and a naked test.
>
> Also, we should not overload the meaning of 'plan'.  Keep the parsers
> simple by having 'plan' mean one thing and one thing only.

Indeed - that was me trying to TAP while doing something entirely  
different and getting confused about what TAP actually looks like :)

I /think/ it's right on this page:
  http://testanything.org/wiki/index.php/Test_Blocks

    TAP version 14
    1..4
    begin 1 Object creation
      1..2
      ok 1 Object created OK
      ok 2 Object isa Flunge::Twizzler
    end 1 Object creation
    ok 2 Clone OK
    begin 3 Methods
      1..4
      ok 1 has twizzle method
      ok 2 has burnish method
      ok 3 has spangle method
      not ok 4 has frob method
    end 3 Methods
    ok 4 Resources released

-- 
Andy Armstrong, hexten.net



More information about the tap-l mailing list