VimTAP : Test Anything Protocol for vim
script karma |
Rating 10/4,
Downloaded by 2405 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Meikel Brandmeyer |
|
script type |
utility |
|
description |
The Test Anything Protocol makes testing with different languages in the same project
easy. It decouples the tests generating results from the harness interpreting the results.
With VimTAP we now have TAP for vim.
For now the following is implemented:
- Plan
- Ok
- Is & Isnt
- Like & Unlike
- Diag
Diag is probably not completely functional, yet. \n, \r and \r\n are all considered to
delimit lines.
Also a driver for running the tests from outside vim is provided. It can be used with
Perl's TAP::Parser runtests utility.
This package is still work in progress! |
|
install details |
Unzip the zip file into your .vim/vimfiles directory.
Or, preferably, use pathogen: http://www.vim.org/scripts/script.php?script_id=2332 |
|
script versions (upload new version)
Click on the package to download.
vimtap-0.4.0.zip |
0.4.0 |
2012-08-23 |
7.0 |
Meikel Brandmeyer |
Provide commands for the most commonly used functions. Improve the reporting of the test results. |
VimTAP-0.3.zip |
0.3 |
2009-03-01 |
7.0 |
Meikel Brandmeyer |
New Features:
* Skip
* Todo
* BailOut
* SetOutputFile/FlushOutput
Uses now Harnesses under the hood. |
VimTAP-0.2.vba |
0.2 |
2008-04-14 |
7.0 |
Meikel Brandmeyer |
Two new test functions are introduced, Like und Unlike, for use with
regular expressions instead of concrete values for comparison.
Some online documentation was added.
The vtruntest.sh utility was also added to provide a driver, which can
be used to run tests from outside vim. One possibility is for example
the runtests of Perl's TAP::Parser: runtests -e 'sh vtruntest.sh' |
ip used for rating: 142.132.191.50
|