Convert::TAP::Archive - Read from a TAP archive and convert it for displaying
version 0.005
use Convert::TAP::Archive qw(convert_from_taparchive); my $html = convert_from_taparchive( archive => '/must/be/the/complete/path/to/test.tar.gz', formatter => 'TAP::Formatter::HTML', );
THIS MODULE IS DEPRECATED! Please see Archive::TAP::Convert instead.
This modul can be of help for you if you have TAP archives (e.g. created with prove -a and now you wish to have the content of this archives in a special format like HTML or JUnit (or whatever format).
prove -a
The method takes three arguments. Only archive is required. It takes the full path to your TAP archive. The formatter defaults to TAP::Formatter::HTML, but you can give any other formatter. The method will return the content of the TAP archive, parsed according to the formatter you have specified.
archive
formatter
TAP::Formatter::HTML
my $html = convert_from_taparchive( archive => '/must/be/the/complete/path/to/test.tar.gz', formatter =>'TAP::Formatter::HTML', force_inline => 1, );
You can give any optional true value to force_inline and it will pack all Javascript and CSS inside the HTML instead of linking to to files from TAP::Formatter::HTML. This defaults to zero, meaning do not inline.
force_inline
No known issues.
This module is no longer maintained! Please see Archive::TAP::Convert for the same funcionality.
Test::Harness
TAP::Formatter::Base and its implementations for HTML, JUnit or Console.
Boris Däppen <bdaeppen.perl@gmail.com>, Renée Bäcker <module@renee-baecker.de>
This software is copyright (c) 2013 by Boris Däppen, Renée Bäcker, plusW.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Convert::TAP::Archive, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Convert::TAP::Archive
CPAN shell
perl -MCPAN -e shell install Convert::TAP::Archive
For more information on module installation, please visit the detailed CPAN module installation guide.