Path to this page:
./
devel/p5-Test-Toolbox,
Test::Toolbox - tools for testing
Branch: CURRENT,
Version: 0.4nb8,
Package name: p5-Test-Toolbox-0.4nb8,
Maintainer: pkgsrc-usersTest::Toolbox provides (as you might guess) tools for automated
testing. Test::Toolbox is much like some other testing modules, such as
Test::More and Test::Simple. Test::Toolbox provides a different flavor of
tests which may or may not actually be to your preference.
The tools in Test::Toolbox have a standard format. Commands start with (the
command (of course), followed by the test name. Then there is usually the
value being tested, or values being compared, then other options. So, for
example, this command checks compares two values:
rtcomp 'test name', $val, $other_val;
In some cases it's preferable to flip the logic of the test, so that, for
example, two values should not be the same. In that case, you can add the
should option:
rtcomp 'test name', $val, $other_val, should=>0;
All test commands require a test name as the first param.
Required to run:[
lang/perl5]
Required to build:[
devel/p5-Module-Build] [
pkgtools/cwrappers]
Master sites: (Expand)
Filesize: 17.298 KB
Version history: (Expand)
- (2024-11-16) Updated to version: p5-Test-Toolbox-0.4nb8
- (2023-07-06) Updated to version: p5-Test-Toolbox-0.4nb7
- (2022-06-28) Updated to version: p5-Test-Toolbox-0.4nb6
- (2021-05-25) Updated to version: p5-Test-Toolbox-0.4nb5
- (2020-09-01) Updated to version: p5-Test-Toolbox-0.4nb4
- (2019-08-11) Updated to version: p5-Test-Toolbox-0.4nb3
CVS history: (Expand)