use Test::TAP::HTMLMatrix; use Test::TAP::Model::Visual; my $model = Test::TAP::Model::Visual->new(...); my $v = Test::TAP::HTMLMatrix->new($model); print $v->html;
This module is a wrapper for a template and some visualization classes, that knows to take a Test::TAP::Model object, which encapsulates test results, and produce a pretty html file.
- new (@models, $?extra)
Deprecated method - aliases to
Returns an HTML string for the corresponding template.
This is also the method implementing stringification.
Just settergetters. You can override these for added fun.
A reasonable title for the page:
"TAP Matrix - <gmtime>"
A sorted array ref, resulting from $self->model->test_files;
These return the full path to the Petal template and the CSS stylesheet it uses.
Note that these are taken from @INC. If you put detailed_view.html under
catfile(qw/Test TAP HTMLMatrix/)somewhere in your @INC, it should find it like you'd expect.
This is a URI::file object based on
css_file. Nothing fancy.
You probably want to override this to something more specific to your env.
- has_inline_css ?$new_value
This accessor controls whether inline CSS will be generated instead of
<link>style stylesheet refs.
Returns the contents of
css_filefudged slightly to work inside
- template_to_html $path
Processes the said template using
- process_petal $petal
Takes a petal object and processes it.
This module is maintained using Darcs. You can get the latest version from http://nothingmuch.woobling.org/Test-TAP-HTMLMatrix/, and use
darcs send to commit changes.
This list was generated from svn log testgraph.pl and testgraph.css in the pugs repo, sorted by last name.
Yuval Kogman <firstname.lastname@example.org> NUFFIN
Max Maischein <email@example.com> CORION
James Mastros <firstname.lastname@example.org> JMASTROS
Scott McWhirter <scott-cpan@NOSPAMkungfuftr.com> KUNGFUFTR
putter (svn handle)
Audrey Tang <email@example.com> AUDREYT
Casey West <firstname.lastname@example.org> CWEST
Gaal Yahas <email@example.com> GAAL
Copyright (c) 2005 the aforementioned authors. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.