spurkis (spurkis) wrote,
spurkis
spurkis

  • Mood:

Test Anything: TAP & HTML

I've just released TAP-Formatter-HTML to CPAN:

http://search.cpan.org/dist/TAP-Formatter-HTML/

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 ;-).

It's based on Yuval Kogman's Test::TAP::HTMLMatrix which though useful, has a few limitations imposed on it by Test::Harness.

Over the past few years, after the evolution of the Test Anything Protocol (TAP), Andy Armstrong et. al. have produced a sorely-needed replacement for Test::Harness called TAP::Harness. It comes with a great little command-line utility called prove which makes it really easy to run your tests.

With TAP::Formatter::HTML you can now produce your test reports in HTML:


% prove -m -Q --formatter=TAP::Formatter::HTML >output.html


Give it a whirl & let me know what you think!
Tags: hacking, html, perl, qa, tap, testing
Subscribe
  • 1 comment
  • 1 comment

Comments for this post were locked by the author