Gaal Yahas > Test-TAP-HTMLMatrix-0.04 > Test::TAP::Model::File::Visual

Download:
Test-TAP-HTMLMatrix-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: Test-TAP-HTMLMatrix-0.09

NAME ^

Test::TAP::Model::File::Visual - A test file with additional display oriented methods.

SYNOPSIS ^

        See the template.

DESCRIPTION ^

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.

METHODS ^

str_status

A string, "OK" or "FAILED"

link

Just the name of the test. Should be overridden to contain a proper path.

case_rows

The test's test cases, split into rows close to 50 elements in size.

The structure returned is:

        [ { cases => [ case, case, ... ] }, { cases => [ ... ] }, ... ];
subtest_class

This method overrides "subtest_class" in Test::TAP::Model::File to return Test::TAP::Model::Subtest::Visual.