App::Prove::Plugin::Idempotent - a prove plugin to keep output TAP reusable
prove -P Idempotent t/foo.t
This plugin tries to keep the verbose output of prove to be the same TAP as it consumed. In particular, the final ok line that is normally added is left out. Therefore you can reuse the output TAP stream and feed it again into a TAP parser.
prove
ok
See the email thread here for discussion.
Steffen Schwigon, <ss5 at renormalist.net>
<ss5 at renormalist.net>
The prove plugin code is shamelessly stolen from Steve Purkis' App::Prove::Plugin::HTML.
prove, App::Prove
This method is called on loading prove plugin. Here we overwrite the TAP::Formatter::Session::_make_ok_line to a no-op.
TAP::Formatter::Session::_make_ok_line
You can find documentation for this module with the perldoc command.
perldoc App::Prove::Plugin::Idempotent
You can also look for information at:
RT, CPAN's request tracker (report bugs here) http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Prove-Plugin-Idempotent
AnnoCPAN, Annotated CPAN documentation http://annocpan.org/dist/App-Prove-Plugin-Idempotent
CPAN Ratings http://cpanratings.perl.org/d/App-Prove-Plugin-Idempotent
Search CPAN http://search.cpan.org/dist/App-Prove-Plugin-Idempotent/
Copyright 2011 Steffen Schwigon.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install App::Prove::Plugin::Idempotent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Prove::Plugin::Idempotent
CPAN shell
perl -MCPAN -e shell install App::Prove::Plugin::Idempotent
For more information on module installation, please visit the detailed CPAN module installation guide.