Skip to content

Show running tests#4221

Merged
Evangelink merged 22 commits into
microsoft:mainfrom
drognanar:show_running_tests
Dec 9, 2024
Merged

Show running tests#4221
Evangelink merged 22 commits into
microsoft:mainfrom
drognanar:show_running_tests

Conversation

@drognanar

@drognanar drognanar commented Dec 3, 2024

Copy link
Copy Markdown
Member

Fixes #3728

Reports the progress of actively running tests:

image

@microsoft-github-policy-service microsoft-github-policy-service Bot added area/mtp-extensions MTP extensions (TrxReport, Retry, HtmlReport, ...). type/discussion Open discussion / brainstorming. Type: Feature labels Dec 4, 2024
@Evangelink Evangelink mentioned this pull request Dec 4, 2024
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

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
Evangelink previously approved these changes Dec 5, 2024

@Evangelink 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. @nohwnd I'll let you finish the technical review.

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

@Evangelink 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
@Evangelink Evangelink enabled auto-merge (squash) December 9, 2024 20:21
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