dotfiles/symlinks/config/nvim/after/plugin/testing.vim

15 lines
553 B
VimL
Raw Normal View History

2021-02-23 11:27:32 +00:00
" -----------------------------------------------------------------------------
" - Vim-test and general testing config -
" -----------------------------------------------------------------------------
" make test commands execute using dispatch.vim
let test#strategy = "dispatch"
let test#csharp#runner = "dotnettest"
2021-02-23 11:27:32 +00:00
" Map test running commands
nmap <silent> <Leader>tn :TestNearest<CR>
nmap <silent> <Leader>tf :TestFile<CR>
nmap <silent> <Leader>ts :TestSuite<CR>
nmap <silent> <Leader>tl :TestLast<CR>
nmap <silent> <Leader>tg :TestVisit<CR>