Name : perl-Test-More-Strict
| |
Version : 0.02
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 7.67
| Date : 2024-08-05 17:22:54
|
Group : Development/Libraries/Perl
| Source RPM : perl-Test-More-Strict-0.02-7.67.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
Summary : Enforce policies on test results
|
Description :
\'Test::More::Strict\' allows policies for test results to be enforced. For example you may require that all tests have a non-blank description. You could achieve that like this:
use Test::More::Strict description => sub { my $desc = shift; return defined $desc and $desc =~ /\\S/; };
In general you pass a number of key => coderef pairs on the use line. Currently the only recognised key is \'description\'. The coderef is called with the test description as its first argument. It should return a true value if the description is OK otherwise false.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/openSUSE_Tumbleweed/noarch |