Replies: 7 comments
-
In my context: in order to avoid having "one failed module load makes my entire 'Testing' tree empty", I manually add While this correctly allows me to run the other tests, it also silently completely hide the errors on failed imports. |
Beta Was this translation helpful? Give feedback.
-
Hi! Can you send an outline of your project and youre logs from the "python" output channel when you set "developer tools: log level" to "info" via that command palette command? This feature is released and should work. And to confirm one module failing is the in a different file then the other ones you expect to find? We have it work on a per file basis right now. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/LeGEC/pytest-collect-errros directions:
information:
running pytest from the command line, on the other hand, behaves as I expect (you can run the script
|
Beta Was this translation helpful? Give feedback.
-
I don't know if the expectations of the pytest extension is to have point |
Beta Was this translation helpful? Give feedback.
-
Logs seen in Output > Python:
without the --continue-on-collection-errors option, I see the error at collection stopping pytest
|
Beta Was this translation helpful? Give feedback.
-
Hi! Sorry for the delay, look at your logs here Let me know if the rewrite fixes your issue. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you for the feedback. Since I opened that discussion, there were several updates (to both vscode and the python plugin), and test discovery now works as you describe without me having to manually add For clarification: I now get both:
I will now close this discussion, as resolved. |
Beta Was this translation helpful? Give feedback.
-
issue #13301 is marked as fixed (btw: the comments on that issue is closed, which is why I can't ask on it ...) but I haven't found a release note mentioning it, and my current vscode doesn't have the feature.
Has it been released already ? (if yes: what version ?)
if not released, how can I test a version with the fix ?
thank you
Beta Was this translation helpful? Give feedback.
All reactions