jdrago_999 has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
How is this page produced?
I want to be able to produce something similar for my own projects.
It appears that Test::TAP::HTMLMatrix is used...
I will investigate...
After a few more minutes of hacking away (and looking at the examples) I have the following script:
#!/usr/bin/perl use strict; use warnings; use Test::TAP::HTMLMatrix; use Test::TAP::Model::Visual; use Test::TAP::Model::Consolidated; # make a successful test run my $model_ok = Test::TAP::Model::Visual->new_with_tests( glob("t/*/*.t") ); $model_ok->desc_string("real run"); my $v = Test::TAP::HTMLMatrix->new( Test::TAP::Model::Consolidated->new( $model_ok ) ); $v->has_inline_css(1); # this is the most popular view: print $v->detail_html;
I run it like this:
perl smoke.pl > smoke.htmlEverything just works :-)
|
|---|