While working in a multi-project (VSCode would call it multi-root) python repository the VSCode python plugin for testing fails to run all the test when choosing to run all the tests, however running individual folders or tests passes. This is obviously a strange issue so I investigated this further.
The output of the vscode python plugin in the "Test Results" panel is as follows:
Running tests (pytest): /home/workspace
Running test with arguments: --rootdir /home/workspace --override-ini junit_family=xunit1 --junit-xml=/tmp/tmp-289km5DwtjAXzkh.xml
Current working directory: /home/workspace
Workspace directory: /home/workspace
Run completed, parsing output
Test result not found for: ./my_awesome_dir/tests/my_awesome_module/my_awesome_test.py::TestAwesomeness::test_is_awesome[input_data0-AwesomeStuff]
This issue has been mentioned before on the vscode-python repo here: https://github.com/microsoft/vscode-python/issues/18658
However even though I found a solution for my problem the VSCode Python repository does not allow adding more comments to existing issues and neither do they allow opening new issues so that I can add this information over there which is much better suited. Therefore I am resorting to adding this information here which may be the second best place.