8000 GitHub - mtbrock/vusted: A busted wrapper for testing neovim plugin
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mtbrock/vusted

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vusted

busted wrapper for testing neovim plugin

Requirements

  • neovim

Installation

luarocks --lua-version=5.1 install vusted

Usage

vusted usage is almost the same as busted.

$ vusted
ok 1 - vusted can use vim module
printed
ok 2 - vusted can print
1..2

Helper functions

See vusted.helper's function comments.

Environment variables

  • VUSTED_NVIM
    • vusted uses this command to execute neovim.
    • default: nvim
  • VUSTED_ARGS
    • vusted uses this arguments to execute neovim.
    • default: --headless --clean
  • VUSTED_SLOW
    • For example if you set 1000, output handler adds summary about the tests that elapsed 1000ms or more.
    • can use only if the output handler is vusted.default.

About

A busted wrapper for testing neovim plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 88.8%
  • Vim Script 5.5%
  • Makefile 3.2%
  • Batchfile 1.4%
  • Shell 1.1%
0