Closed momrak closed 1 year ago
Project roots are determined by the adapter. neotest-dart looks for a dart
folder https://github.com/sidlatau/neotest-dart/blob/43a61b8aab7908799d58369ba15dc4cd381d46ff/lua/neotest-dart/init.lua#L11. I'm not sure what the correct behaviour should be here, I'd recommend opening an issue in the adapter repo
Ah, I see. Thank you for the reply
NeoVim Version
Describe the bug When running
lua require'neotest'.summary.open()
the tab with the summary opens and starts parsing tests. The problem is that it does not parse from that file only or the project files. It jumps quite a few folder out and starts parsing from that.Running
:lua print(vim.fn.getwd())
gives the correct working dir.Are there any likely causes for this, or is it hard to say without more info? I am debugging Dart code. How does neoest choose what it sets as the root project dir?