Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: add neotest-java to lang.java #1984

Closed
1 task done
rcasia opened this issue Nov 9, 2023 · 0 comments
Closed
1 task done

feature: add neotest-java to lang.java #1984

rcasia opened this issue Nov 9, 2023 · 0 comments
Labels
enhancement New feature or request Stale

Comments

@rcasia
Copy link

rcasia commented Nov 9, 2023

Did you check the docs?

  • I have read all the LazyVim docs

Is your feature request related to a problem? Please describe.

I recently added the neotest-java adapter. Today I started using LazyVim and I wanted to try running tests in java. When I tried it I got a "No tests found" message.

Describe the solution you'd like

It would be nice to have neotest-java integrated to lang.java. (I found out LazyVim currently runs tests with mason as a workaround because there was no neotest adapter for java).

Describe alternatives you've considered

What's working for me now is to use the lang.java extra and having neotest-java as an user plugin.

-- ~/.config/nvim/lua/plugins/test.lua
return {
  { "rcasia/neotest-java" },
  {
    "nvim-neotest/neotest",
    opts = { adapters = { "neotest-java" },
    },
  },
}

Additional context

At present, neotest-java does not provide DAP support, but it will be implemented in the future.

@rcasia rcasia added the enhancement New feature or request label Nov 9, 2023
@rcasia rcasia changed the title feature: add neotest-java to feature: add neotest-java to lang-java Nov 9, 2023
@rcasia rcasia changed the title feature: add neotest-java to lang-java feature: add neotest-java to lang.java Nov 9, 2023
appelgriebsch added a commit to appelgriebsch/LazyVim that referenced this issue Dec 18, 2023
appelgriebsch added a commit to appelgriebsch/LazyVim that referenced this issue Dec 21, 2023
appelgriebsch added a commit to appelgriebsch/LazyVim that referenced this issue Dec 22, 2023
appelgriebsch added a commit to appelgriebsch/LazyVim that referenced this issue Mar 20, 2024
@github-actions github-actions bot added the Stale label Jun 5, 2024
@LazyVim LazyVim locked and limited conversation to collaborators Jun 5, 2024
@folke folke converted this issue into discussion #3477 Jun 5, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
enhancement New feature or request Stale
Projects
None yet
Development

No branches or pull requests

1 participant