This layer provides common functionality for running tests (specs) from the editor, using janko-m/vim-test
.
Add the +specs/testing
layer in your configuration file,
function! Layers()
" ...
Layer '+specs/testing'
" ...
endfunction
Key Binding | Description |
---|---|
SPC s a | Run all tests for the project |
SPC s f | Run tests from file |
SPC s s | Run latest test again |
SPC s t | Run nearest test |
SPC s v | Visit the test file from which you last run your tests |