-
Notifications
You must be signed in to change notification settings - Fork 798
Bump Microsoft.NET.Test.Sdk and MSTest #18259
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
base: main
Are you sure you want to change the base?
Conversation
dependabot
bot
commented
on behalf of github
Oct 12, 2025
•
edited by microsoft-github-policy-service
bot
Loading
edited by microsoft-github-policy-service
bot
Bumps Microsoft.NET.Test.Sdk from 17.14.1 to 18.0.0 Bumps MSTest from 3.9.2 to 4.0.0 --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.0.0 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: MSTest dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test this change out locally with the following install scripts (Action run 18451231913) VSCode
Azure CLI
|
Updated Microsoft.NET.Test.Sdk from 17.14.1 to 18.0.0.
Release notes
Sourced from Microsoft.NET.Test.Sdk's releases.
18.0.0
What's Changed
Internal fixes and updates
... (truncated)
Commits viewable in compare view.
Updated MSTest from 3.9.2 to 4.0.0.
Release notes
Sourced from MSTest's releases.
4.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: