vim-test / vim-test

Run your tests at the speed of thought

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature: support for dispatch Spawn

lisamburns opened this issue · comments

I have been using Vim8 with vim-test for a while using the default basic strategy which is great. I wanted to run my tests non-blocking while still be able to navigate the code, so I tried Dispatch strategy. That allows me to continue to navigate the code, but now I can no longer stop at breakpoints to debug. The Dispatch recommendation is to use Spawn instead of Dispatch as the command.
tpope/vim-dispatch#319

Could vim-test add support for this?
I read through the other options and it wasn't clear that any of the other strategies that are supported would meet desire for non-blocking, debuggability / interactive term. I tried asyncrun but the debugger wouldn't work there either.

Thank you for raising this, do you envisage this as a new strategy or a modification to the Dispatch strategy?

Looks like the Dispatch strategy currently has two options or "identifiers", (dispatch and dispatch_background), I was thinking this could be the third (dispatch_spawn) ?

Sounds good to me, would like to have a try raising a PR for this new strategy? Happy to give a hand