nvim-neotest / neotest-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QUESTION: run tests for entire project?

hahuang65 opened this issue · comments

Just wondering if there was a way to run the entire project?

I've tried require('neotest').run.run(vim.fn.getcwd()) as well as require('neotest').run.run('./...') but neither worked.
Wondering if I'm just doing it wrong, or should I fork this and try to implement support for it?

commented

@hahuang65 was about to say that I have no idea but found a bug when I was just cross checking where every path passed in was being truncated to the one above which is needed for file tests but breaks directory tests. This should now work with require('neotest').run.run(vim.fn.getcwd())

commented

getcwd() must evaluate to your project root

awesome, thank you so much!!