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

Remove result indicator from test summary #9929

Merged
merged 8 commits into from
Apr 17, 2024

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Mar 26, 2024

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
Member

@nohwnd can you merge conflicts?

@nohwnd
Copy link
Member Author

nohwnd commented Mar 27, 2024

@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
Copy link
Member

@baronfel baronfel left a comment

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
Copy link
Member Author

nohwnd commented Apr 9, 2024

@AR-May merged conflicts, please review.

Copy link
Member

@AR-May AR-May left a comment

Choose a reason for hiding this comment

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

LGTM

src/MSBuild/Resources/Strings.resx Outdated Show resolved Hide resolved
src/MSBuild/Resources/Strings.resx Outdated Show resolved Hide resolved
@nohwnd
Copy link
Member Author

nohwnd commented Apr 15, 2024

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

@MichalPavlik MichalPavlik merged commit 00c956a into main Apr 17, 2024
9 checks passed
@MichalPavlik MichalPavlik deleted the remove-result-indicator-from-test-summary branch April 17, 2024 08:54
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