Skip to content

Fix broken verbose reporting of successful tests#70

Merged
kzu merged 1 commit intomainfrom
dev/verbosity
Feb 18, 2025
Merged

Fix broken verbose reporting of successful tests#70
kzu merged 1 commit intomainfrom
dev/verbosity

Conversation

@kzu
Copy link
Member

@kzu kzu commented Feb 18, 2025

We werre missing passing through the verbosity setting to the trx command, because we were creating a brand new setting class after the fact.

Since all the logic in that settings class (defaulting the path) is encapsulated in the Validate method, we can safely just use it when running the command.

For dotnet-retest we never do recursive log lookup, and we should preserve the legacy Skipped setting if it's provided too.

@kzu kzu added the bug Something isn't working label Feb 18, 2025
We werre missing passing through the verbosity setting to the trx command, because we were creating a brand new setting class after the fact.

Since all the logic in that settings class (defaulting the path) is encapsulated in the Validate method, we can safely just use it when running the command.

For dotnet-retest we never do recursive log lookup, and we should preserve the legacy Skipped setting if it's provided too.
@kzu kzu enabled auto-merge (rebase) February 18, 2025 23:17
@kzu
Copy link
Member Author

kzu commented Feb 18, 2025

4 passed 4 passed

🧪 Details on Microsoft Windows 10.0.20348

from dotnet-retest v42.42.220-pr70 on .NET 8.0.12 with 💜

@kzu kzu merged commit 2695bdc into main Feb 18, 2025
9 checks passed
@kzu kzu deleted the dev/verbosity branch February 18, 2025 23:19
@devlooped devlooped locked and limited conversation to collaborators Mar 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant