by kana

Vim plugin: Testing framework for Vim script

204 Stars 9 Forks Last release: Not found 431 Commits 26 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

vim-vspec - Testing framework for Vim script

Build Status

vim-vspec is a testing framework for Vim script. It consists of:

  • Utilities to run tests in isolated Vim process,
  • A Vim plugin to write tests in a format which resembles RSpec, and
  • Additional syntax/indent files for Vim script to write tests.

vim-vspec is not a tool to set up environment to run tests. If you want to test a plugin which depends on some other plugins, you have to:

  • Install such dependencies to somewhere, and
  • Specify where the dependencies are installed to run tests.

These steps are tedious to do by hand. It is recommended to use vim-flavor to automate setting up test environment and running tests.

See also:

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.