Test::...::Test(3pm)
π Test::FITesque::Test β a FITesque test π
okay so bestie, welcome to Test::FITesque::Test, a lil Perl module from the User Contributed Perl Documentation collection, and it's literally exactly what it says on the tin: a FITesque test β¨
πΈ SYNOPSIS πΈ
my $test = Test::FITesque::Test->new();
# add test rows
$test->add( ... );
$test->add( ... );
# return number of TAP tests
$test->test_count();
$test->run_tests();
π¦ DESCRIPTION π¦
(no cap, the original page leaves this section absolutely empty β the methods below are where all the lore lives π )
π METHODS π
π new
my $test = Test::FITesque::Test->new();
This is a simple constructor, bestie. She takes a hashref of options:
dataβ this is an arrayref of arrayrefs for the FITesque run.
π¨ okay important thing, listen up: the first test row that is added must be the FITesque fixture class name, followed by the arguments to be passed to its constructor. like, that's the rule, fr fr.
β¨ add
$test->add(qw(Foo::Fixture some constructor args));
$test->add('click button', 'search');
This method lets you add FITesque test rows one at a time, individually, your own way. And just like with the data option in the constructor β the first row you add has to be the Fixture class name and its constructor arguments. same energy, different door π
π test_count
my $count = $test->test_count();
This method returns the number of TAP tests expected to be run during the test run. she's the little counter keeping everyone honest π«Ά
β run_tests
$test->run_tests();
This method will run the FITesque test based upon the data supplied. main character moment tbh π
π 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.
and that's the whole page, bestie!! this one's from perl v5.34.0, dated 2022-07-04, part of the User Contributed Perl Documentation, and she ate, no crumbs. mwah π
π¦ where this page comes from
- debian bookworm: libtest-fitesque-perl 0.04-3 Β· BSD-3-Clause
- debian trixie: libtest-fitesque-perl 0.04-3 Β· BSD-3-Clause
- ubuntu noble: libtest-fitesque-perl 0.04-3 Β· BSD-3-Clause
- ubuntu resolute: libtest-fitesque-perl 0.04-3 Β· BSD-3-Clause
- ubuntu stonking: libtest-fitesque-perl 0.04-3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms