Switching from neotest-go to neotest-golang #52
-
Hi, I'm trying to make the switch from neotest-go to neotest-golang. I've used this configuration:
Which allows me to open a go file, it's testfile, press After finding out about neotest-golang, I've changed my configuration to:
Now, when I open the same .go and it's testfile press
And the neotest summary split says: What would I need to change to get neotest-golang working? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
Strange, not sure what's wrong on your end. Do you have an up to date Neotest version? |
Beta Was this translation helpful? Give feedback.
-
Everything is up-to-date. Same thing happens in other repo's. |
Beta Was this translation helpful? Give feedback.
-
Do you see something suspicious from the Neotest logs? require("neotest.logging"):set_level(vim.log.levels.DEBUG)
local logfile = require("neotest.logging"):get_filename()
vim.notify(logfile) -- print the path to the log file |
Beta Was this translation helpful? Give feedback.
-
Logfile stays completely empty... |
Beta Was this translation helpful? Give feedback.
-
I can see a bunch of other languages there in the error message. Can you try to disable any other adapters? I would uninstall (hit It's somewhat strange that the term "No position found with args" doesn't exist in either Neotest or Treesitter source code. I just searched here from GitHub mobile. |
Beta Was this translation helpful? Give feedback.
-
The (other) languages that are visible in the error message, seem to come from the neotest default configuration judging from I have no other adapters installed whatsoever. FWIW if I start neotest with neotest-go adapter and open the test summary this shows up in the logfile:
|
Beta Was this translation helpful? Give feedback.
-
@dez11de would you mind trying the latest release? |
Beta Was this translation helpful? Give feedback.
-
Yes, it's fixed now. Thank you! |
Beta Was this translation helpful? Give feedback.
@fredrikaverpil
Yes, it's fixed now. Thank you!