Skip to content

Remove result indicator from test summary - #9929

Merged
MichalPavlik merged 8 commits into
mainfrom
remove-result-indicator-from-test-summary
Apr 17, 2024
Merged

Remove result indicator from test summary#9929
MichalPavlik merged 8 commits into
mainfrom
remove-result-indicator-from-test-summary

Conversation

@nohwnd

@nohwnd nohwnd commented Mar 26, 2024

Copy link
Copy Markdown
Member

Fixes dotnet/sdk#39665

Context

Reporting the result in the test summary creates inconsistencies. When the build finished with warnings the tests would still report "succeded", unless we duplicate a lot of logic.

Changes Made

Removed the explicit result, and instead I just colorize the most important test result count, so failed tests are highlighted when there are any.

Moved the test summary above the final build result.

original:
image

new (after merge with newest main):
image

Testing

Notes

@baronfel

Copy link
Copy Markdown
Member

@nohwnd can you merge conflicts?

@nohwnd

nohwnd commented Mar 27, 2024

Copy link
Copy Markdown
Member Author

@baronfel done (not a super developer, I just did not push).

@nohwnd
nohwnd marked this pull request as ready for review March 27, 2024 17:03
Comment thread src/MSBuild/Resources/Strings.resx

@baronfel baronfel 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.

LGTM - @AR-May Can you take a look as well?

@nohwnd

nohwnd commented Apr 9, 2024

Copy link
Copy Markdown
Member Author

@AR-May merged conflicts, please review.

@AR-May AR-May 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.

LGTM

Comment thread src/MSBuild/Resources/Strings.resx
Comment thread src/MSBuild/Resources/Strings.resx
@nohwnd

nohwnd commented Apr 15, 2024

Copy link
Copy Markdown
Member Author

@MichalPavlik all green, please approve and merge or let me know what to change.

Comment thread src/MSBuild/Resources/Strings.resx
Comment thread src/MSBuild/Resources/Strings.resx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[9.0-preview.2] Inconsistent messaging of success vs. warnings from dotnet test

4 participants