-
Notifications
You must be signed in to change notification settings - Fork 43
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
Cannot run spec tests #62
Comments
To be honest, I have no idea what's going on. Minimal config to reproduce as well as steps would be really helpful. Without it there is no point to discuss it. Moreover, I am not sure it's a plugin issue |
I mean I was trying to run tests in this repo: git clone https://github.com/nvim-neotest/neotest-go.git
cd neotest-go
nvim --headless -c "PlenaryBustedDirectory lua/spec/neotest-go { }" || echo "some tests failed" Output: Starting...Scheduling: lua/spec/neotest-go/init_spec.lua
Scheduling: lua/spec/neotest-go/utils_spec.lua
some tests failed The test fails because it cannot find I've also read that plenary test harness runs tests in a separate nvim instance without plugins by default? So that's probably the issue I'm facing. I assume that I am running these tests incorrectly. How do you execute tests in |
I was able to run them with
and this was recently added to the README. Your command also works for me though, fwiw. But... I did hit this |
Hi, I tried running plenary spec tests but all of them failed. Seems like the test cannot find plugin dependencies.
Here's a screenshot:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: