Adding the power of vim-test to VS Code
Run Focused Test- if you're in a test file, run the test under the cursorRun Test File- Run all the tests in the file
vstest.runIn- either "terminal" or "iTerm"vstest.focusIterm- If true, will activate iTerm on test runs
vstest.jest.command- The path to the Jest binary, or an npm command to run tests prefixed with--e.g.node_modules/.bin/jestornpm test --vstest.jest.flags- Flags to pass to jest
vstest.elixir.command- The command to start the elixir test runnervstest.elixir.flags- Flags to pass elixir tests
If you want functionality like vim-test and are using the Vim extension, add the following to your settings.json
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["t"],
"commands": [
"vstest.runFocusedTest"
]
},
{
"before": ["T"],
"commands": [
"vstest.runCurrentTestFile"
]
}
],
