GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bug: JUnit 5 tests are not identified as test without gradle build · Issue #336 · nvim-java/nvim-java

bug: JUnit 5 tests are not identified as test without gradle build #336

New issue
Copy link
New issue
Copy link
Open
Open
bug: JUnit 5 tests are not identified as test without gradle build#336
Copy link
Labels
bugSomething isn't workingSomething isn't working

Description

@s1n7ax
s1n7ax
opened on Dec 26, 2024
Issue body actions

Did you check docs and existing issues?

  • I have read all the plugin docs
  • I have searched the existing issues
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

Operating system/version

Describe the bug

local client = vim.lsp.get_clients({ name = "jdtls" })[1]

vim.print(client.server_capabilities.executeCommandProvider)

client:request("workspace/executeCommand", {
	command = "vscode.java.test.findTestTypesAndMethods",
	arguments = {
		vim.uri_from_bufnr(vim.api.nvim_get_current_buf()),
	},
}, function(result)
	vim.print(result)
end, 0)

Withing a junit 5 test, jdtls returns empty array. However, gradle build once would solve the issue

Steps To Reproduce

Expected Behavior

Activity

  1. s1n7ax
    added
    bugSomething isn't workingSomething isn't working
    on Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.