[%# TAP-Formatter-HTML: TT2 Template Copyright (c) 2008 Steve Purkis. All rights reserved. Released under the same terms as Perl itself. Developer Notes: * These files can get *BIG*. Try to keep html weight down to a minimum. * Note that the 'minify' TAP::Formatter::HTML option will remove all the tabs at the start of a line, so remember to use tabs not spaces. * Try to use short (1-2 char) css class names in test result loops. More readable class names are fine elsewhere. * The default stylesheets that goes with this are 'default_report.css' & 'default_page.css' * The default javascript files are 'jquery-1.2.3-min.js' & 'default_report.js' -%]
| Test file | Test results | Time | % |
|---|---|---|---|
| [% test.test %] |
[%- SET max_tests = 0 -%]
[%- SET max_tests = test.tests_planned IF test.tests_planned AND test.tests_planned > max_tests -%]
[%- SET max_tests = test.tests_run IF test.tests_run AND test.tests_run > max_tests %]
[%- IF test.parse_errors %]
|
[% test.elapsed_time | format('%.2fs') %] | [% test.percent_passed ? test.percent_passed _ '%' : 'n/a' %] |
| [% report.num_files %] files |
[% report.total %] tests,
[% report.passed %] ok,
[% report.failed %] failed,
[% report.todo %] todo,
[% report.skipped %] skipped,
[% report.parse_errors %] parse errors exit status: [% report.exit %], wait status: [% report.wait %] elapsed time: [% report.elapsed_time | trim %] |
[% report.total_time | format('%.2fs') %] | [% report.percent_passed %]% |