nvim-test icon indicating copy to clipboard operation
nvim-test copied to clipboard

Dynamic arguments at runtime

Open anrie opened this issue 3 years ago • 3 comments

Hi,

the one thing I am really missing at the moment, is to pass arguments to the test command on the fly. Using pytest for example, every now and then it is really helpful to get more verbose output via -vvv or to drop into the debugger if a test fails with --pdb Ideally one could append these extra flags to the test command, like: TestNearest -vvv --pdb

Is this already doable and I missed how to do it? Otherwise this would be a really helpful feature.

Thanks, Andreas

anrie avatar Jun 03 '22 07:06 anrie

I'm thinking about integrating neovim debug tools (:help terminal-debug). It would be nice to have commands like TestDebugFile and let termdebugger varable control the debugger command.

Perhaps it should be done as separate extension.

akhilman avatar Jun 10 '22 04:06 akhilman

Ok. Termdebug seems doesn't work with pdb.

akhilman avatar Jun 10 '22 05:06 akhilman

nvim-dap supports python very well. I'll try to make nvim-dap and nvim-test work together.

akhilman avatar Jun 10 '22 11:06 akhilman