Test::FITesque::Suite(3pm)

Test::FITesque::Suite3pm

Fitesque test suite runner

Usage

  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();

Overview

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.

Releases

3 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11
  2. 12–13

Author

Scott McWhirter, "<[email protected]>"

From libtest-fitesque-perl 0.04-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.