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

【TEST RESULTS】 hope provide progress bar #22676

Closed
iknownoth1ng opened this issue Dec 15, 2023 · 8 comments
Closed

【TEST RESULTS】 hope provide progress bar #22676

iknownoth1ng opened this issue Dec 15, 2023 · 8 comments
Labels
area-testing feature-request Request for new features or functionality needs community feedback Awaiting community feedback

Comments

@iknownoth1ng
Copy link

process bar worked when use terminal
it doesn't work with [TEST RESULTS]


import pytest
from rich.progress import track


@pytest.mark.test
def test_mk_test():
    for i in track(range(30000000), "processing: "):
        i = i + 1


if __name__ == "__main__":
    pytest.main(
        [
            "-sv",
            __file__,
        ]
    )
20231215_142836.mp4
@eleanorjboyd
Copy link
Member

@connor4312, is this feature implemented in the testing API or is this a request for there?

@connor4312
Copy link
Member

connor4312 commented Dec 15, 2023

It sounds like the user expects to see the process bar in the test output terminal when running their tests, so that would be extension side. There's already a progress bar in the Test Explorer view.

@eleanorjboyd
Copy link
Member

Can you try setting this in your user settings: "python.experiments.optOutFrom": ["pythonTestAdapter"], to try without the new architecture and let me know if this is a regression or not? Thanks

@eleanorjboyd eleanorjboyd transferred this issue from microsoft/vscode Dec 18, 2023
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Dec 18, 2023
@eleanorjboyd eleanorjboyd added info-needed Issue requires more information from poster area-testing labels Dec 18, 2023
@iknownoth1ng
Copy link
Author

I want a progress bar with animation instead of direct output

20231220_105918.mp4

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Dec 20, 2023
@eleanorjboyd
Copy link
Member

Was this video you attached with that setting included so the experiment was turned off?

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Dec 20, 2023
@iknownoth1ng
Copy link
Author

Was this video you attached with that setting included so the experiment was turned off?

Sorry, I didn't understand you clearly.
I've already set my user settings as you mentioned before.
image

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Dec 20, 2023
@eleanorjboyd eleanorjboyd added feature-request Request for new features or functionality needs community feedback Awaiting community feedback and removed triage-needed Needs assignment to the proper sub-team labels Dec 20, 2023
@eleanorjboyd eleanorjboyd removed their assignment Dec 20, 2023
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.

@brettcannon
Copy link
Member

Thank you for submitting your feature request and everyone who considered it! Unfortunately, this issue did not receive enough votes over the allotted time, and so we are closing the issue.

@brettcannon brettcannon closed this as not planned Won't fix, can't repro, duplicate, stale Feb 22, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2024
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 needs community feedback Awaiting community feedback
Projects
None yet
Development

No branches or pull requests

5 participants