Skip to content

atm1020/neotest-jdtls

Repository files navigation

neotest-jdtls

  • This plugin provides a jdtls adapter for the Neotest framework.
  • Supports Junit5, Junit4 tests.

Installation

{
  'atm1020/neotest-jdtls', 
}

Setup

require("neotest").setup {
 adapters = {
   require('neotest-jdtls')
 },
}

Lazy.nvim

return {
    {
        "atm1020/neotest-jdtls",
        dependencies = {
            "nvim-neotest/neotest",
        },
    },
    {
        "nvim-neotest/neotest",
        opts = { adapters = { "neotest-jdtls" } },
    },
}

Check neotest-jdtls is ready to use

  • checkhealth neotest-jdtls

Commands

  • NeotestJdtlsClearProjectCache : Clear jdtls project cache.

Logging

  • logs are written to neotest-jdtls.log within the ~/.local/share/nvim/ directory.
  • log level can be set with vim.g.neotest_jdtls_log_level.

Acknowledgements

About

No description, website, or topics provided.

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages