On 12/04/10 at 11:43P, Javier Rojas wrote:
> Hi all,
> 
> Do you vim script authors write tests for your code? how do you do unit
> testing for your VimL code?

I've added a few tests to my Gundo plugin.  I still need to add a lot more, but
looking at Gundo's tests/ directory and tests/README should give you a good
overview of how I'm doing it.

http://bitbucket.org/sjl/gundo.vim/src/tip/tests/

> 
> I ask because I'd like to do it for some of my scripts, but I don't
> usually see anything similar being done in other people's scripts.
> 
> -- 
> Javier Rojas
> 
> GPG Key ID: 0x24E00D68



-- 
Steve Losh

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to