develooper Front page | perl.qa | Postings from June 2012

Proposal Test::TAPv13

Thread Next
From:
Steffen Schwigon
Date:
June 1, 2012 05:40
Subject:
Proposal Test::TAPv13
Message ID:
87ipfb8asu.fsf@renormalist.net
Hi!

I am about to upload Test::TAPv13. I also did an prepan entry for that.

PrePAN:   http://prepan.org/module/429En4oFbn .
URL:      https://github.com/renormalist/Test-TAPv13
Synopsis: 

   use Test::TAPv13 ':all'; # must come before Test::More
   use Test::More tests => 2;
   
   my $data = { affe => { tiger => 111,
                          birne => "amazing",
                          loewe => [ qw( 1 two three) ],
                        },
                zomtec => "here's another one",
                "DrWho" => undef,
              };
   
   ok(1, "hot stuff");
   tap13_yaml($data);
   tap13_pragma "+strict";
   ok(1, "more hot stuff");


Does it make sense?
Did I overlook an existing way to generate TAP v13?

Thanks!

Kind regards,
Steffen 
-- 
Steffen Schwigon <ss5@renormalist.net>
Dresden Perl Mongers <http://dresden-pm.org/>

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About