-
-
Notifications
You must be signed in to change notification settings - Fork 92
chore(deps): update mstest to v4 (major) #3327
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
Conversation
Claude finished @thomhurst's task —— View job MSTest v4 Update Review ✅Todo List:
Review SummaryThis PR updates MSTest packages from v3.11.0 to v4.0.0 in the centralized package management file. The update appears safe and compatible with the current codebase. ✅ Code Quality & Compatibility
✅ Breaking Changes AnalysisMSTest v4's breaking changes primarily affect internal/hidden types that were mistakenly public. The benchmark code only uses:
None of these core APIs are affected by v4 breaking changes. ✅ Performance Considerations
✅ Security Assessment
✅ Test Coverage
Recommendation: APPROVE ✅This is a low-risk, high-value update that:
The MSTest v4 migration guide confirms no action needed for codebases using standard MSTest APIs like this project. |
This PR contains the following updates:
3.11.0
->4.0.0
3.11.0
->4.0.0
Release Notes
microsoft/testfx (MSTest.TestAdapter)
v4.0.0
What is new?
Assert.That
MSTest v4 adds a new type of assertion, that allows you to write any expression, and it will inspect the result to give you more information on failure. Providing a very flexible way to assert complicated expressions. Here a simple example:
CallerArgumentExpression
CallerArgumentExpression is consumed by all assertions, to make them aware of the expressions used in the assertion. In the example below we now know what both the expected and actual values are. But also what value they come from, giving us opportunity to provide better error messages:
Breaking changes
We hidden many types that should have never been public in the first place. We believe that most of the changes won't have any real user impact. For the changes where we expect user impact migration guide from v3 is provided: https://learn.microsoft.com/dotnet/core/testing/unit-testing-mstest-migration-v3-v4
Full changelog here: microsoft/testfx@v3.11.0...v4.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Renovate Bot.