Skip to content

Show running tests - #4221

Merged
Amaury Levé (Evangelink) merged 22 commits into
microsoft:mainfrom
drognanar:show_running_tests
Dec 9, 2024
Merged

Amaury Levé (Evangelink) merged 22 commits into
microsoft:mainfrom
drognanar:show_running_tests

Conversation

@drognanar

@drognanar Artur Spychaj (drognanar) commented Dec 3, 2024 •

Copy link
Copy Markdown
Member

Fixes #3728

Reports the progress of actively running tests:

image

Make the number of active tests to render based on the size of the terminal.
@Evangelink

Copy link
Copy Markdown
Member

Looking dope!

progress-1000-tests

I do see a few flickering effect depending on machine load.

@nohwnd

Jakub Jareš (nohwnd) commented Dec 4, 2024 via email

Copy link
Copy Markdown
Member

@Evangelink

Copy link
Copy Markdown
Member

My only objection is the “and 1 more”, just show the test that is running :)

Yes!

@Evangelink

Copy link
Copy Markdown
Member

I think it'd be nice to also update the message ... and X more when it's the only line being displayed
image

@drognanar

Copy link
Copy Markdown
Member Author

Specialized the message when no active tests can be shown on the terminal

@Evangelink Amaury Levé (Evangelink) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functionnaly looking good. Jakub Jareš (@nohwnd) I'll let you finish the technical review.

Artur Spychaj (@drognanar) How hard would it be to add a few test in TerminalTestReporterTests.cs for the progress?

@Evangelink Amaury Levé (Evangelink) removed the type/discussion Open discussion / brainstorming. label Dec 7, 2024
@microsoft-github-policy-service microsoft-github-policy-service Bot added the area/mtp Microsoft.Testing.Platform core library. label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/mtp Microsoft.Testing.Platform core library. area/mtp-extensions MTP extensions (TrxReport, Retry, HtmlReport, ...).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show currently running tests in progress output

3 participants