Convert tests from custom unittest.vim to vim-themis format

- Add .themisrc to set up runtimepath for test helpers
- Add test helper in test/autoload/themis/helper/emmet.vim
- Add test files: html, css, haml, slim, others (xsl/xsd/mustache/scss/jade/pug/jsx)
- Update Makefile to use vim-themis (old target preserved as test-old)
- All 181 test cases from unittest.vim are covered
This commit is contained in:
Yasuhiro Matsumoto
2026-03-20 22:47:52 +09:00
parent a4d8b71bf7
commit 21af7f3e2c
8 changed files with 1036 additions and 0 deletions
+3
View File
@@ -11,5 +11,8 @@ release: emmet-vim.zip
vimup update-script emmet.vim
test:
@../vim-themis/bin/themis --runtimepath . test/
test-old:
@-rm -f test.log 2> /dev/null
@vim -N -c "let &rtp .= ',' . getcwd()" -c "so unittest.vim" -c EmmetUnitTest! || cat test.log || exit 1