---
name: "Test::TAP::Model::File::Visual"
section: "3pm"
platform: "linux"
package: "libtest-tap-htmlmatrix-perl"
version: "0.09-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/Test::TAP::Model::File::Visual"
---

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

A test file with additional display oriented methods.

## 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

- 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.
