Test::TAP::Model::File::Visual(3pm)

Test::TAP::Model::File::Visual3pm

A test file with additional display oriented methods.

Usage

        See the template.

Overview

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

cases

An overridden version of "cases" in Test::TAP::Model::File which will return a single stub case if the case list is actually empty.

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.

desc_string ?$new_value

A short descriptive string used to distinguish this file from others in the various report views.

Releases

2 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0
  2. 5.0

From libtest-tap-htmlmatrix-perl 0.09-1 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.