Name : perl-Test-Count
| |
Version : 0.1105
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.1.1
| Date : 2024-07-03 19:10:22
|
Group : Development/Libraries/Perl
| Source RPM : perl-Test-Count-0.1105-lp156.1.1.src.rpm
|
Size : 0.09 MB
| |
Packager : https://www_suse_com/
| |
Summary : Module for keeping track of the number of tests in a test script
|
Description :
Test::Count is a set of perl modules for keeping track of the number of tests in a test file. It works by putting in comments of the form \'# TEST\' (one test), \'# TEST*$EXPR\' or \'# TEST+$EXPR\' (both are multiple tests). Test::Count count these tests throughout the fileand return all of their results.
One can put any mathematical expressions (using parentheses, \'+\', \'-\', \'*\', \'/\' and \'%\' there). One can also assign variables using \'# TEST:$myvar=5+6;$second_var=$myvar+3\' and later use them in the add to count expressions. A \'$var++\' construct is also available.
One can find example test scripts under t/.
A simple Vim (http://www.vim.org/) function to update the count of the tests in the file is:
function! Perl_Tests_Count() %perl -MTest::Count::Filter -e \'Test::Count::Filter->new({})->process()\' endfunction
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.6/noarch |