marilari88 / neotest-vitest

Vitest adapter for Neovim Neotest plugin
92 stars 34 forks source link

Feature Request: support in-source testing #25

Open escwxyz opened 1 year ago

escwxyz commented 1 year ago

Hello, https://github.com/marilari88/neotest-vitest/blob/f9efe9524ccba1284d5f4e41d0dc6ff91951cfcc/lua/neotest-vitest/init.lua#L62 didn't cover in-source testing, see here.

weilbith commented 2 months ago

When integrating with the new vitest list command, it should be easy and reliable to determine this, right? Because right now, this plugin just hard-codes the default configuration of Vitest it’s include. It does not consider custom configurations nor excludes etc. But having the above should solve that quite universal, right?