You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add separate python.testing.pytestArgs setting for test discovery and run #21190
Each time the test discovery is executed (either via the Refresh Tests button or automatically) the extension runs run_adapter.py discover pytest ... with all the arguments listed in python.testing.pytestArgs passed in. While such behavior (maybe) makes sense, it would be nice to have an option to ignore the arguments or set the ones used for discovery in a separate parameter (like python.testing.pytestDiscoveryArgs).
This change would help to avoid implicit / unwanted actions on a discovery run, e.g. overwriting a coverage report file.
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.
changed the title [-]Add a way to ignore `python.testing.pytestArgs` for test discovery[/-][+]Add separate `python.testing.pytestArgs` setting for test discovery and run[/+]on May 9, 2023
Activity
github-actions commentedon May 9, 2023
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.
[-]Add a way to ignore `python.testing.pytestArgs` for test discovery[/-][+]Add separate `python.testing.pytestArgs` setting for test discovery and run[/+]