Sane config?? #160
-
Hello, I'm quite new to neotest and neotest-golang, I have tried setting it up for a couple of days now however I'm not sure if I've set it up correctly as I'm facing the following issues: 1.Incredibly slow for a basic single file test (I believe this is caused by the tester seeing all the golang tests on another directory since when I open Neotest summary it goes up to the higher parent directories) after opening summary it also starts to make neovim incredibly laggy and slow. System details: Things I've tried: Reinstallling go TServer, gomod tsserver, reinstalling my entire nvim config, trying out Nvim distros with Neotest already set-up and I get the same results. I wanted to try copying @fredrikaverpil 's config but couldn't get it to work,it couldn't find the neotest-golang install for some reason. Wanted to try neotest's minimal init too but I also couldn't get it to work since running that seems to ignore that the plugin is installed by lazy?? Thank you so much, would love to hear your thoughts and from your experiences! My config is as follows:
P.S looking at Neotest logs I see this (tried looking it up on the web but it seems I'm the only one with this issue)
Running :checkhealth neotest-golang, everything is fine, it even finds the proper go mod and in the right directory. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
Hey @Hobbyist11 did you check out the tips & troubleshooting section in the README? It mentions logging (which you seem to be already doing) and also how you can speed up Neotest.
|
Beta Was this translation helpful? Give feedback.
Your videos are flickering a lot here and are quite hard to follow when it comes exactly what you are doing. I'm also not sure what I'm looking at. It looks like you have cloned down this repo and then added files to the root of it which are then attempting to run?
Difficult to comment on.
However, the three files you provided I can work with. I can successfully run the test and there are no delays or waiting times in parsing tests etc. I'm not sure what can be wrong on your end and I also don't know how to help you here unless you provide more information.
bug3.mov