- Neovim >= 0.9.0
- fd
- git
- rg
- realpath
Install the plugin with your preferred package manager.
{
'jtzero/go-to-test-file.nvim',
lazy = false,
config = true,
keys = {
{
'<M-T>',
'<cmd>FindTestOrSourceCodeFileWithFallback<CR>',
mode = { "n" },
desc = 'Opens a corresponding test file or source file if not found opens the test folder',
},
},
}
- Doesn't handle Maven style directory layout