---
name: "Test::FITesque::Suite"
section: "3pm"
platform: "linux"
package: "libtest-fitesque-perl"
version: "0.04-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Test::FITesque::Suite"
---

# Test::FITesque::Suite(3pm)

FITesque test suite runner

## NAME

Test::FITesque::Suite - FITesque test suite runner

## SYNOPSIS

```
  my $suite   = Test::FITesque::Suite->new();
  my $test    = Test::FITesque::Test->new();
  my $suite2  = Test::FITesque::Suite->new();
    ...
  $suite->add($test, $suite2, ...);
  my $test_count = $suite->test_count();
  $suite->run_tests();
```

## DESCRIPTION

This package provides a way of running a suite of tests. It also allowed you to run suites of suites in whatever hierarchy you see fit.

## METHODS

### new

```
  my $suite = Test::FITesque::Suite->new();
```

This method is a simple constructor, but can take a single parameter within a hashref:

- data

  This takes a simple arrayref of tests or suites.

### add

```
  $suite->add($test, $suite2, ...);
```

This method allows you to add tests or suites to the current suite object.

### test\_count

```
  my $count = $suite->test_count();
```

This method returns the test count for all tests within the suite.

### run\_tests

```
  $suite->run_tests();
```

This method will run all tests within a suite.

## AUTHOR

Scott McWhirter, `"<konobi@cpan.org>"`

## COPYRIGHT & LICENSE

Copyright 2007 Scott McWhirter, all rights reserved.

This program is released under the following license: BSD. Please see the LICENSE file included in this distribution for details.
