Need help with vim-vspec?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

kana
206 Stars 9 Forks 431 Commits 10 Opened issues

Description

Vim plugin: Testing framework for Vim script

Services available

!
?

Need anything else?

Contributors list

# 110,118
Vim
vim-plu...
Shell
testing...
353 commits
# 23,734
Clojure
Vim
testing...
Lua
5 commits
# 73,449
testing...
executa...
Git
git-flo...
1 commit
# 1,804
Django
Neovim
Lua
deoplet...
1 commit

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.