We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I might just be doing a simple thing wrong and I am not sure whether this is related to neotest-python or neotest itself.
I am trying to pass an additional argument to the test runner.
Having the following in my neovim config does work:
local nt = require("neotest") nt.setup({ adapters = { require("neotest-python")({ args = { "-s" }, }), require("neotest-rust"), }, })
However, I only want to allow/have this on a case-by-case basis, so I tried the following in the neovim terminal
:lua require("neotest").run.run({args={"-s"}})
That does not seem to work. Maybe the arguments are not forwarded to the runner somehow?
Kind Regards Robin
The text was updated successfully, but these errors were encountered:
Ah, I figured out the argument needs to be called extra_args. The following works:
extra_args
:lua require("neotest").run.run({extra_args={"-s"}})
Sorry, something went wrong.
rcarriga
No branches or pull requests
I might just be doing a simple thing wrong and I am not sure whether this is related to neotest-python or neotest itself.
I am trying to pass an additional argument to the test runner.
Having the following in my neovim config does work:
However, I only want to allow/have this on a case-by-case basis, so I tried the following in the neovim terminal
That does not seem to work. Maybe the arguments are not forwarded to the runner somehow?
Kind Regards
Robin
The text was updated successfully, but these errors were encountered: