Slash Boxes
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.
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...


    • 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-