Closed duncanam closed 8 months ago
add this line to your neotest-python config
pytest_discover_instances = true,
https://github.com/nvim-neotest/neotest-python/commit/ff20740633ce6381abd7d9137aba89e0690367e2
add this line to your neotest-python config
pytest_discover_instances = true,
https://github.com/nvim-neotest/neotest-python/commit/ff20740633ce6381abd7d9137aba89e0690367e2
I missed this, thanks! I'll check it out tomorrow and report back.
The above fixed it! I can even open up individual parametrized tests in the summary window and run them individually! Thanks all!
NeoVim Version
v0.9.4
Describe the bug Parametrize Python tests show as failed- instead of a green checkmark, it shows a red X. I do get a "n tests passed" popup. This X shows in both the summary and editor window.
To Reproduce Install latest, run a Python test that is parametrized with pytest.parametrize. I think the latest version started doing this, as the previous does not.
Expected behavior Green checkbox instead of red X for passing Python parametrize tests.
Logs N/A at the moment
Additional context Failed Python parametrize tests do correctly "red X" the failed test section.