perl-test-manage.vim : Keep Track of the Number of Tests in a Perl Test File
script karma |
Rating 2/3,
Downloaded by 1165 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Shlomi Fish |
|
script type |
utility |
|
description |
NOTE!!! This script is deprecated and was superseded by the Test-Count CPAN module:
http://search.cpan.org/dist/Test-Count/
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
like:
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
comment:
# TEST*3*5
will add 15 tests to the test number.
|
|
install details |
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|