Hello,
The require('neotest').summary.toggle() launches the search for tests, and I see that my venv* folders are parsed by neotest. That's a behaviour I'd like to prevent.
I've tried to tweak it with the is_test_file function, but I lost the original behaviour which was doing a great job.
I feel like this folder exclusion could be a useful default, but maybe having a configuration option like exclude_pattern = { "venv*", "dist"} would be better.
I am sorry if there is something trivial that I am missing; I am still in the early stages of building a proper development workflow, and I am not yet confident in my Neovim/Lua skills.
Hello,
The
require('neotest').summary.toggle()launches the search for tests, and I see that myvenv*folders are parsed by neotest. That's a behaviour I'd like to prevent.I've tried to tweak it with the
is_test_filefunction, but I lost the original behaviour which was doing a great job.I feel like this folder exclusion could be a useful default, but maybe having a configuration option like
exclude_pattern = { "venv*", "dist"}would be better.I am sorry if there is something trivial that I am missing; I am still in the early stages of building a proper development workflow, and I am not yet confident in my Neovim/Lua skills.