Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • That sounds really cool. I've been thinking about how to get Perl tests integrated into CruiseControl recently, and I reckon that turning TAP output into junit's XML format will probably go a long way...

    Thanks,
    -Dom

    • Ah, cool. My first customer :)

      The interface will probably look something like this:

      my $parser = TAP::Parser->new($optional_version_number);

      $parser->parse($tap); # croaks on bad TAP

      print $parser->plan;
      while ( my $test = $parser->tests ) {
          print $test->as_string;
          # or
          print $test->is_ok;        # boolean value
          print $test->ok;           # 'not ok' or 'ok'
          print $test-