Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve python test discovery error reporting #19978

Closed
wonderfuldays021 opened this issue Oct 10, 2022 · 2 comments
Closed

Improve python test discovery error reporting #19978

wonderfuldays021 opened this issue Oct 10, 2022 · 2 comments
Assignees
Labels
area-testing feature-request Request for new features or functionality

Comments

@wonderfuldays021
Copy link

Currently when there's something wrong during test discovery, I need to go to Output -> Python and find the exact issue among tons of other messages.
Is it possible to click error in test explorer and show corresponding error messages?

Also in this case, other tests without issue are not shown in test explorer. This makes me think all tests in this repo cannot be discovered. Could it be made clearer like which tests are with issues and which are not.

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Oct 10, 2022
@eleanorjboyd
Copy link
Member

Hello, we are aware of buggy behavior on test discovery and are working on a rewrite of how testing works in vscode. During this effort we plan on reviewing the scenarios for errors and that should fix this issue as well. The main issue which will be working on is here: #17242, and progress will be updated on this issue. Thank you!

@eleanorjboyd eleanorjboyd added area-testing and removed triage-needed Needs assignment to the proper sub-team labels Oct 10, 2022
@eleanorjboyd eleanorjboyd added the feature-request Request for new features or functionality label Jul 7, 2023
@eleanorjboyd
Copy link
Member

There is now a clickable link that will take you to the output. It would be good to have it bring you to the exact line in the logs that includes the error. This more specific request will be tracked: #4205. Thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants