michal-h21 / vim-zettel

VimWiki addon for managing notes according to Zettelkasten method
MIT License
555 stars 72 forks source link

Add a test framework based on vader.vim #146

Closed l1laxS closed 6 months ago

l1laxS commented 6 months ago

This pull-request adds a test framework based on vader.vim.

I've setup a dedicated minimal .vimrc to isolate test runs from the wikis specified in the user g:vimwiki_list. A detailed explanation of how to run the tests can be found in tests/README.md.

I've set up only a few tests for:

I hope this can be a first step in helping others adding new functionalities, without breaking anything.

michal-h21 commented 6 months ago

Wow, thanks! I didn't know about vader.vim, but it looks interesting.