perl-test-manage.vim : Keep Track of the Number of Tests in a Perl Test File
| script karma
Downloaded by 537
Comments, bugs, improvements
script versions (upload new version)
|NOTE!!! This script is deprecated and was superseded by the Test-Count CPAN module:
Please look into Test-Count which, despite being written in Perl, also supports some other programming languages and is more generic.
This script helps keeping track of the number of tests in a Perl test
file (t/*.t) by counting '# TEST' comments.
In order to keep track of the number of tests you need to have a statement
use Test::More tests => 20
at the beginning of the test file. Then you need to make sure, every test
has a corresponding '# TEST' comment. If you run several tests in a loop,
you can append asterisks plus number to the comment. So for example the
will add 15 tests to the test number.
Click on the package to download.
ip used for rating: 18.104.22.168