pytest-xdist
pytest-xdist copied to clipboard
pytest-xdist does not work with vscode test-explorer when using --dist=loadgroup
I believe ultimately this is a consequence of the testcase name mangling that pytest-xdist does (adding @
I don't know if this should be considered a pytest-xdist issue or a vscode Python extension issue...
Even though it does run both tests
Xdist doesn't mangle test names
It was just a guess as that is the only thing i can discern as different in thr report.
Is that not what happens here? https://github.com/pytest-dev/pytest-xdist/blob/a5848d11b872e1476c6db48f6094cd5085b3b339/src/xdist/remote.py#L195
Based on this discussion re: hypothesis I assume this is something that the vscode group needs to address in their plugin. Thanks!
https://github.com/microsoft/vscode-python/issues/19790
Yikes
@nicoddemus that breaks everything, unless we add a way that's not horrendously nuking the node id we should drop loadscope