Skip to content

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

Closed

Description

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

Activity

  1. github-actions commented on Jul 27, 2023

    @github-actions

    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.

  2. karrtikr commented on Aug 5, 2023

    @karrtikr

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

    image

  3. davetapley commented on Aug 8, 2023

    @davetapley
    Author

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

  4. eleanorjboyd commented on Aug 9, 2023

    @eleanorjboyd

    Looking into this- thanks

  5. eleanorjboyd commented on Aug 17, 2023

    @eleanorjboyd

    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.

  6. davetapley commented on Aug 17, 2023

    @davetapley
    Author

    Eleanor Boyd (@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
  7. eleanorjboyd commented on Aug 17, 2023

    @eleanorjboyd

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

    "testing.openTesting": "neverOpen"
    
  8. davetapley commented on Aug 17, 2023

    @davetapley
    Author

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

  9. eleanorjboyd commented on Sep 28, 2023

    @eleanorjboyd

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

  10. locked as resolved and limited conversation to collaborators on Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions