sponsor Vim development Vim logo Vim Book Ad

perl-test-manage.vim : Keep Track of the Number of Tests in a Perl Test File

 script karma  Rating 2/3, Downloaded by 1074  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
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
perl-test-manage.vim 0.3.0 2006-01-05 6.0 Shlomi Fish Refactoring
perl-test-manage.vim 0.2 2004-12-02 6.0 Shlomi Fish Initial upload
ip used for rating: 35.171.182.239

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github