Test::TAP::Model::File::Visual - A test file with additional display oriented methods.
See the template.
This module is a subclass of Test::TAP::Model::File that provides some methods that ease display.
It also inherits from Test::TAP::Model::Colorful, which provides additional methods.
An overridden version of "cases" in Test::TAP::Model::File which will return a single stub case if the case list is actually empty.
A string, "OK" or "FAILED"
Just the name of the test. Should be overridden to contain a proper path.
The test's test cases, split into rows close to 50 elements in size.
The structure returned is:
[ { cases => [ case, case, ... ] }, { cases => [ ... ] }, ... ];
This method overrides "subtest_class" in Test::TAP::Model::File to return Test::TAP::Model::Subtest::Visual.
A short descriptive string used to distinguish this file from others in the various report views.
To install Test::TAP::HTMLMatrix, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::TAP::HTMLMatrix
CPAN shell
perl -MCPAN -e shell install Test::TAP::HTMLMatrix
For more information on module installation, please visit the detailed CPAN module installation guide.