Skip to content

Comments

Bump the dotnet group with 2 updates#1327

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/nuget/docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/MakeConst/MakeConst.Test/dotnet-2f364cb2c2
Closed

Bump the dotnet group with 2 updates#1327
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/nuget/docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/MakeConst/MakeConst.Test/dotnet-2f364cb2c2

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 18, 2026

Updated MSTest.TestAdapter from 3.11.1 to 4.1.0.

Release notes

Sourced from MSTest.TestAdapter's releases.

4.1.0

See the release notes here

4.0.2

See the release notes here

4.0.1

See the release notes here

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:

[TestClass]
public sealed class Test1
{
    [TestMethod]
    public void TestMethod1()
    {
        var animal = "Tiger";
        var zoo = new Zoo();
        Assert.That(() => zoo.GetAnimal() == animal);
    }
}

public class Zoo
{
    public string GetAnimal()
    {
        return "Giraffe";
    }
}
Assert.That(() => zoo.GetAnimal() == animal) failed.
Details:
    animal = "Tiger"     
    zoo.GetAnimal() = "Giraffe"

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:

[TestClass]
public sealed class Test1
{
    [TestMethod]
    public void TestMethod1()
    {
        string animal = null;
        Assert.AreEqual("Giraffe", animal);
    }
}
 ... (truncated)

## 4.0.0-preview.25372.6

This is a prerelease of MSTest v4. Docs on migration from v3 to v4 are in progress. We are working towards addressing the items tracked in #​1285 and #​5762

## 4.0.0-preview.25358.7

This is a prerelease of MSTest v4. Docs on migration from v3 to v4 are in progress. We are working towards addressing the items tracked in https://github.com/microsoft/testfx/issues/1285 and https://github.com/microsoft/testfx/issues/5762

Commits viewable in [compare view](https://github.com/microsoft/testfx/compare/v3.11.1...v4.1.0).
</details>

Updated [MSTest.TestFramework](https://github.com/microsoft/testfx) from 4.0.2 to 4.1.0.

<details>
<summary>Release notes</summary>

_Sourced from [MSTest.TestFramework's releases](https://github.com/microsoft/testfx/releases)._

## 4.1.0

See the release notes [here](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#​4.1.0)

Commits viewable in [compare view](https://github.com/microsoft/testfx/compare/v4.0.2...v4.1.0).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions


</details>

Bumps MSTest.TestAdapter from 3.11.1 to 4.1.0
Bumps MSTest.TestFramework from 4.0.2 to 4.1.0

---
updated-dependencies:
- dependency-name: MSTest.TestAdapter
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dotnet
- dependency-name: MSTest.TestFramework
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dotnet
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Feb 18, 2026
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 18, 2026

Superseded by #1332.

@dependabot dependabot bot closed this Feb 18, 2026
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 18, 2026

Superseded by #1331.

@dependabot dependabot bot deleted the dependabot/nuget/docs/csharp/roslyn-sdk/tutorials/snippets/how-to-write-csharp-analyzer-code-fix/MakeConst/MakeConst.Test/dotnet-2f364cb2c2 branch February 18, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants