2023-06-24 17:22:22 +02:00
|
|
|
call dein#add('vim-test/vim-test', #{
|
|
|
|
\ lazy: 1,
|
|
|
|
\ on_cmd: [
|
|
|
|
\ 'TestSuite', 'TestFile', 'TestNearest', 'TestLast',
|
|
|
|
\ 'TestVisit', 'TestClass',
|
|
|
|
\ ],
|
|
|
|
\ })
|
2020-12-04 11:18:37 +01:00
|
|
|
|
|
|
|
" Shortcuts
|
2021-05-18 15:49:52 +02:00
|
|
|
nmap <silent> <Leader>Ta :TestSuite<CR>
|
|
|
|
nmap <silent> <Leader>Tf :TestFile<CR>
|
|
|
|
nmap <silent> <Leader>Tc :TestNearest<CR>
|
|
|
|
nmap <silent> <Leader>TT :TestLast<CR>
|
2023-06-24 17:53:13 +02:00
|
|
|
|
|
|
|
" Run tests in the background, send results to the quickfix window
|
|
|
|
" NOTE: this must be set in this file, not in a .cfg / .post file
|
|
|
|
let test#strategy = 'asyncrun_background'
|