Add separate python.testing.pytestArgs
setting for test discovery and run
#21190
Labels
feature-request
Request for new features or functionality
needs community feedback
Awaiting community feedback
Each time the test discovery is executed (either via the
Refresh Tests
button or automatically) the extension runsrun_adapter.py discover pytest ...
with all the arguments listed inpython.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 (likepython.testing.pytestDiscoveryArgs
).This change would help to avoid implicit / unwanted actions on a discovery run, e.g. overwriting a coverage report file.
The text was updated successfully, but these errors were encountered: