"Run Test with Coverage" runs *all* tests when test execution fails #24307
Labels
feature-request
Request for new features or functionality
triage-needed
Needs assignment to the proper sub-team
TLDR:
I am currently debugging a problem in my tests, most likely related to nedbat/coveragepy#1392. I am trying the
omit
workaround, but currently, I am gettingvscode-pytest
errors such as:When this happens, VS Code re-starts all tests, which is not what I want at all.
Compare this snippet:
vscode-python/python_files/vscode_pytest/run_pytest_script.py
Lines 54 to 67 in e8dd8c0
IMHO, this should rather be something like (untested!) - note the
return
in the first block and the differentarg_array
in the last block:The text was updated successfully, but these errors were encountered: