PackageDescription | 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 few limitations - hence
this module). For sample output, see:
http://www.spurkis.org/TAP-Formatter-HTML/test-output.html
This 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 ;-).
The design goals are:
* _easy to use_
Once you've got your test report, it should be obvious how to use it.
* _helpful_
It should be helpful by pointing out _where_ & _why_ your test suite is
breaking. If you've written your tests well, it should give you enough info
to start tracking down the issue.
* _easy to install_
Eg: should be a clean install from CPAN, and you shouldn't need to modify
your existing test suite to get up & running, though _you will need to stop
using Test::Harness unfortunately_.
* _work out of the box_
You shouldn't need to do any custom-coding to get it working - the default
configuration & templates should be enough to get started with. Once
installed it should be a matter of running:
% prove -m -Q --formatter=TAP::Formatter::HTML >output.html
From your project's home dir, and opening the resulting file.
* _easy to configure_
You should be able to configure & customize it to suit your needs. As such,
css, javascript and templates are all configurable. |