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

Add "Python Test Log" to the command palette #21694

Closed
davetapley opened this issue Jul 25, 2023 · 9 comments
Closed

Add "Python Test Log" to the command palette #21694

davetapley opened this issue Jul 25, 2023 · 9 comments
Assignees
Labels
area-testing feature-request Request for new features or functionality

Comments

@davetapley
Copy link

AFAIK the Python Test Log on the Output panel is the only(?) place to see verbatim output from unittest (the Test Results panel just prints a summary).

... but Python Test Log is not in the command palette 😞

Can it be added? Happy to do a PR but not sure where 🤔

Screenshot_7_25_23__3_02_PM
@davetapley davetapley added the feature-request Request for new features or functionality label Jul 25, 2023
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jul 25, 2023
@eleanorjboyd eleanorjboyd added needs community feedback Awaiting community feedback and removed triage-needed Needs assignment to the proper sub-team labels Jul 27, 2023
@github-actions
Copy link

Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

@karrtikr
Copy link

karrtikr commented Aug 5, 2023

@davetapley The icon right here should also open the output channel I think, is that not the case?

image

@davetapley
Copy link
Author

@karrtikr unfortunately not, it also opens TEST RESULTS (which is already in the palette, but doesn't show print)

@eleanorjboyd
Copy link
Member

Looking into this- thanks

@eleanorjboyd
Copy link
Member

Hello! Following up to say that I can also see this button is not working. I actually tried it with the testing rewrite experiment turned off and it also didn't work so this may be an overarching issue not just one related to the rewrite. Will look to fix on the new test adapter.

@davetapley
Copy link
Author

davetapley commented Aug 17, 2023

@eleanorjboyd thank you 🙏🏻

Another pet-peeve while you're in the code:

If I've got Python Test Log open, when I run test (e.g. from Test: Rerun last run) it will automatically switch back to the Test Results panel... and then I have to go manually click back through to Python Test Log again. Quite irritating 😑


As a current workaround I can move Test Results to the bottom panel and shrink it down, then I can put Python Test Log in the secondary side bar and it'll keep focus 🤪

Screen Shot 2023-08-17 at 12 38 15 PM

@eleanorjboyd
Copy link
Member

Hi! This setting should stop the focus from changing after test run!

"testing.openTesting": "neverOpen"

@davetapley
Copy link
Author

Amazing! Thank you 🙏🏻 🙏🏻 🙏🏻 🙏🏻

@eleanorjboyd
Copy link
Member

Im actually going to close this in favor of #21861 since we will be removing "python test logs" with the output change. Thanks!

@github-actions github-actions bot removed the needs community feedback Awaiting community feedback label Sep 28, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 29, 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

3 participants