devel/p5-Test-Toolbox 0.4nb10 NetBSD
Test::Toolbox - tools for testing
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 13.2 KiB, 53.0 KiB installed
Description
Test::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.
Install
Binary package:
pkgin install p5-Test-Toolbox
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Test-Toolbox && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.4nb10 |
| NetBSD 10.1 aarch64 | 0.4nb10 |
| SmartOS / illumos x86_64 | 0.4nb10 |
| macOS 15 arm64 | 0.4nb10 |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 1
No port depends on this one.