TAP::Formatter::HTMLTAP::Formatter::HTML is a Perl module to TAP Test Harness output delegate for html output. | |
Download |
TAP::Formatter::HTML Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Steve Purkis
- Publisher web site:
- http://search.cpan.org/~spurkis/TAP-Formatter-HTML-0.04/lib/TAP/Formatter/HTML.pm
TAP::Formatter::HTML Tags
TAP::Formatter::HTML Description
TAP::Formatter::HTML is a Perl module to TAP Test Harness output delegate for html output. TAP::Formatter::HTML is a Perl module to TAP Test Harness output delegate for HTML output.SYNOPSIS # cmdline usage: % prove -m -Q --formatter=TAP::Formatter::HTML >output.html # perl usage: use TAP::Harness; my @tests = glob( 't/*.t' ); my $harness = TAP::Harness->new({ formatter_class => 'TAP::Formatter::HTML', merge => 1 }); $harness->runtests( @tests ); # prints HTML to STDOUT by default # or if you really don't want STDERR merged in: my $harness = TAP::Harness->new({ formatter_class => 'TAP::Formatter::HTML' }); # to use a custom formatter: my $fmt = TAP::Formatter::HTML->new; $fmt->css_uris([])->inline_css( $my_css ) ->js_uris() ->inline_js( '$(div.summary).hide()' ); my $harness = TAP::Harness->new({ formatter => $fmt, merge => 1 }); # you can use your own customized templates too: $fmt->template('custom.tt2') ->template_processor( Template->new ) ->force_inline_css(0);This module provides HTML output formatting for TAP::Harness (a replacement for Test::Harness. It is largely based on ideas from TAP::Test::HTMLMatrix (which was built on Test::Harness and thus had a from a few limitations - hence this module). For sample output, see:http://www.spurkis.org/TAP-Formatter-HTML/test-output.htmlThis module is targeted at all users of automated test suites. It's meant to make reading test results easier, giving you a visual summary of your test suite and letting you drill down into individual failures (which will hopefully make testing more likely to happen at your organization. Requirements: · Perl
TAP::Formatter::HTML Related Software