nvim-neotest / neotest-python

MIT License
115 stars 34 forks source link

How to send args to 1 command? #56

Closed mrparalon closed 10 months ago

mrparalon commented 10 months ago

For example, I run :lua require"neotest".run.run() and for a single test I want to send --pdb args.

But I don't need it for whole file.

rcarriga commented 10 months ago

You can't specify arguments for just one test if you are running all tests in a file, pytest has no functionality for that

mrparalon commented 10 months ago

I'm not sure, that I get your answer right.

I can do pytest --pdb tests/test_hooks.py::test_readiness_probe and it works as expected