Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

TAP version 13

by elTriberium (Friar)
on Jul 11, 2011 at 17:59 UTC ( [id://913738]=perlquestion: print w/replies, xml ) Need Help??

elTriberium has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks!

I'm very much interested in the YAML blocks of TAP version 13: http://testanything.org/wiki/index.php/TAP_version_13_specification

It looks like the initial specification was already done on 2007/03/17. However, so far I haven't found a single module which produces these blocks. It would be very cool if modules like Test::More / Test::Exception would produce this kind of output for all negative test results, so that they can easily be parsed by a test harness.

I already produce some YAML output myself with TAP::Parser::YAMLish::Writer, but this doesn't include the output by the Test:: modules. Of course I could subclass those modules and overwrite the particular methods to generate YAML output. But this would make my code less portable, which I also don't like too much.

So my question is: Does anyone know of a module which might already do this or is currently in development?

Replies are listed 'Best First'.
Re: TAP version 13
by Anonymous Monk on Jul 12, 2011 at 00:44 UTC

    Of course I could subclass those modules and overwrite the particular methods to generate YAML output. But this would make my code less portable, which I also don't like too much.

    Upload to CPAN, and your code is now portable :)

    So my question is: Does anyone know of a module which might already do this or is currently in development?

    According to that wiki, taps-testing - Testing .NET and Mono software using TAP has a yaml writer :D

    But I don't really follow the qa/tap... development that closely :) See this thread JSON TAP Diagnostics? for some reasons why it probably doesn't exist :)

      According to that wiki, taps-testing - Testing .NET and Mono software using TAP has a yaml writer :D
      Too bad it's .Net and won't help me ;)
      See this thread JSON TAP Diagnostics? for some reasons why it probably doesn't exist :)

      Well, that's the point I don't really understand. About 3 years ago there were a lot of discussions about adding this cool feature and since then nothing happened? I was under the impression that the whole testing infrastructure is one of Perl strengths with the Test:: and TAP:: modules, but in this area it looks like nothing is going on.

      Don't get me wrong. I understand that most people working on CPAN modules are doing this in their free time and of course I'm not in the position to demand a particular module, but I just don't understand why this effort has stalled in the last 3 years. I'm hoping someone who participated in that original discussion will read this post :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://913738]
Approved by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (8)
As of 2024-04-18 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found