The results of python tests are cached for only a short time in the VSCode MS python extension Whether they succeeded or failed is only cached for a short while, and then they revert back to question marks again.
How to retain the results of the tests?
I think it has to do with this some logs that I see in the Output for "Python Test Log", which shows many (~30) of these lines:
python /home/.../.vscode/extensions/ms-python.python-2020.6.89148/pythonFiles/testing_tools/run_adapter.py discover pytest -- --rootdir /home/projectdir --cache-clear -s
In particular the --cache-clear
is suspicious, however I don't know what is triggering these outputs.
So my question is: how to remove --cache-clear
from the call? Or maybe something else is going on entirely?
Aucun commentaire:
Enregistrer un commentaire