Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    TAP::Formatter::JUnit 0.09

    Download button

    No screenshots available
    Downloads: 303  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Graham TerMarsch | More programs
    Perl Artistic License / FREE
    March 2nd, 2012, 05:26 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    TAP::Formatter::JUnit description

    Harness output delegate for JUnit output

    TAP::Formatter::JUnit is a Perl module that provides JUnit output formatting for TAP::Harness.

    By default (e.g. when run with prove), the entire test suite is gathered together into a single JUnit XML document, which is then displayed on STDOUT. You can, however, have individual JUnit XML files dumped for each individual test, by setting c to a directory that you would like the JUnit XML dumped to. Note, that this will also cause TAP::Harness to dump the original TAP output into that directory as well (but IMHO that's ok as you've now got the data in two parsable formats).

    Timing information is included in the JUnit XML, if you specified --timer when you ran prove.

    In standard use, "passing TODOs" are treated as failure conditions (and are reported as such in the generated JUnit). If you wish to treat these as a "pass" and not a "fail" condition, setting ALLOW_PASSING_TODOS in your environment will turn these into pass conditions.

    The JUnit output generated is partial to being grokked by Hudson (http://hudson.dev.java.net/). That's the build tool I'm using at the moment and needed to be able to generate JUnit output for.

    SYNOPSIS

    On the command line, with prove:

     prove --formatter TAP::Formatter::JUnit ...

    Or, in your own scripts:

     use TAP::Harness;
     my $harness = TAP::Harness->new( {
     formatter_class => 'TAP::Formatter::JUnit',
     merge => 1,
     } );
     $harness->runtests(@tests);



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    JUnit output | TAP formatter | Perl module | JUnit | formatter | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM