Skip to content

Bump MSTest.Analyzers, MSTest.TestFramework, Verify and Verify.MSTest#73

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/nuget/LeafSpy.DataParser.Tests/multi-0e4d571ccb
Open

Bump MSTest.Analyzers, MSTest.TestFramework, Verify and Verify.MSTest#73
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/nuget/LeafSpy.DataParser.Tests/multi-0e4d571ccb

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Apr 22, 2026

Updated MSTest.Analyzers from 3.9.3 to 4.2.1.

Release notes

Sourced from MSTest.Analyzers's releases.

4.2.1

See the release notes here

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

## 3.11.1

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

## 3.11.0

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

## 3.10.5

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


## 3.10.4

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


## 3.10.3

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


## 3.10.2

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


## 3.10.1

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


## 3.10.0

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


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

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

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

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

## 4.2.1

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

## 4.1.0

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

## 4.0.2

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

## 4.0.1

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

## 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:

```csharp
[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

## 3.11.1

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

## 3.11.0

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

## 3.10.5

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


## 3.10.4

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


## 3.10.3

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


## 3.10.2

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


## 3.10.1

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


## 3.10.0

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


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

Updated [Verify](https://github.com/VerifyTests/Verify) from 30.5.0 to 31.16.1.

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

_Sourced from [Verify's releases](https://github.com/VerifyTests/Verify/releases)._

## 31.16.1

- [x] [#​1718](https://github.com/VerifyTests/Verify/pull/1718) Handle eof and missing ihdr in png decoder

## 31.16.0

- [x] [#​1704](https://github.com/VerifyTests/Verify/pull/1704) Add ScrubNumericIds
- [x] [#​1707](https://github.com/VerifyTests/Verify/pull/1707) Minor micro-optimizations for Verify project.
- [x] [#​1708](https://github.com/VerifyTests/Verify/pull/1708) Add Target comparer and avoid string allocations.
- [x] [#​1709](https://github.com/VerifyTests/Verify/pull/1709) ApplyForPropertyValue returns string instead of CharSpan
- [x] [#​1710](https://github.com/VerifyTests/Verify/pull/1710) In-place sort instead of LINQ OrderByDescending
- [x] [#​1711](https://github.com/VerifyTests/Verify/pull/1711) Remove unnecessary ToString() in VerifyJsonWriter
- [x] [#​1716](https://github.com/VerifyTests/Verify/pull/1716) add Png ssim comparer
- [x] [#​1717](https://github.com/VerifyTests/Verify/pull/1717) Throw on null assembly in TryGetType for bad plugin assembly

## 31.15.0

- [x] [#​1703](https://github.com/VerifyTests/Verify/pull/1703) Rename IgnoreClassArguments to IgnoreConstructorParameters
- [x] [#​1706](https://github.com/VerifyTests/Verify/pull/1706) Alow empty string to ignore type in DerivePathInfo

## 31.14.0

- [x] [#​1700](https://github.com/VerifyTests/Verify/issues/1700) [TUnit] infrastructure fixtures appear in verified filenames / add VerifierSettings.IgnoreParameters<T>
- [x] [#​1701](https://github.com/VerifyTests/Verify/pull/1701) Support global IgnoreParameters setting
- [x] [#​1702](https://github.com/VerifyTests/Verify/pull/1702) add IgnoreClassArguments

## 31.13.4

- [x] [#​1695](https://github.com/VerifyTests/Verify/pull/1695) Bump TUnit packages to 1.19.74
- [x] [#​1696](https://github.com/VerifyTests/Verify/pull/1696) DiffEngine 19.1.1

## 31.13.3

- [x] [#​1694](https://github.com/VerifyTests/Verify/pull/1694) DiffEngine 19.1.0

## 31.12.5

- [x] [#​1682](https://github.com/VerifyTests/Verify/pull/1682) Make 'header' parameter nullable in combination ap is

## 31.12.3

- [x] [#​1678](https://github.com/VerifyTests/Verify/pull/1678) Add parameterless ctor and overload priority

## 31.10.0

- [x] [#​1667](https://github.com/VerifyTests/Verify/pull/1667) Add solution discovery tests and auto discovery logic

Commits viewable in [compare view](https://github.com/VerifyTests/Verify/commits/31.16.1).
</details>

Updated [Verify.MSTest](https://github.com/VerifyTests/Verify) from 30.5.0 to 31.16.1.

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

_Sourced from [Verify.MSTest's releases](https://github.com/VerifyTests/Verify/releases)._

## 31.16.1

- [x] [#​1718](https://github.com/VerifyTests/Verify/pull/1718) Handle eof and missing ihdr in png decoder

## 31.16.0

- [x] [#​1704](https://github.com/VerifyTests/Verify/pull/1704) Add ScrubNumericIds
- [x] [#​1707](https://github.com/VerifyTests/Verify/pull/1707) Minor micro-optimizations for Verify project.
- [x] [#​1708](https://github.com/VerifyTests/Verify/pull/1708) Add Target comparer and avoid string allocations.
- [x] [#​1709](https://github.com/VerifyTests/Verify/pull/1709) ApplyForPropertyValue returns string instead of CharSpan
- [x] [#​1710](https://github.com/VerifyTests/Verify/pull/1710) In-place sort instead of LINQ OrderByDescending
- [x] [#​1711](https://github.com/VerifyTests/Verify/pull/1711) Remove unnecessary ToString() in VerifyJsonWriter
- [x] [#​1716](https://github.com/VerifyTests/Verify/pull/1716) add Png ssim comparer
- [x] [#​1717](https://github.com/VerifyTests/Verify/pull/1717) Throw on null assembly in TryGetType for bad plugin assembly

## 31.15.0

- [x] [#​1703](https://github.com/VerifyTests/Verify/pull/1703) Rename IgnoreClassArguments to IgnoreConstructorParameters
- [x] [#​1706](https://github.com/VerifyTests/Verify/pull/1706) Alow empty string to ignore type in DerivePathInfo

## 31.14.0

- [x] [#​1700](https://github.com/VerifyTests/Verify/issues/1700) [TUnit] infrastructure fixtures appear in verified filenames / add VerifierSettings.IgnoreParameters<T>
- [x] [#​1701](https://github.com/VerifyTests/Verify/pull/1701) Support global IgnoreParameters setting
- [x] [#​1702](https://github.com/VerifyTests/Verify/pull/1702) add IgnoreClassArguments

## 31.13.4

- [x] [#​1695](https://github.com/VerifyTests/Verify/pull/1695) Bump TUnit packages to 1.19.74
- [x] [#​1696](https://github.com/VerifyTests/Verify/pull/1696) DiffEngine 19.1.1

## 31.13.3

- [x] [#​1694](https://github.com/VerifyTests/Verify/pull/1694) DiffEngine 19.1.0

## 31.12.5

- [x] [#​1682](https://github.com/VerifyTests/Verify/pull/1682) Make 'header' parameter nullable in combination ap is

## 31.12.3

- [x] [#​1678](https://github.com/VerifyTests/Verify/pull/1678) Add parameterless ctor and overload priority

## 31.10.0

- [x] [#​1667](https://github.com/VerifyTests/Verify/pull/1667) Add solution discovery tests and auto discovery logic

Commits viewable in [compare view](https://github.com/VerifyTests/Verify/commits/31.16.1).
</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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

Bumps MSTest.Analyzers from 3.9.3 to 4.2.1
Bumps MSTest.TestFramework from 3.9.3 to 4.2.1
Bumps Verify from 30.5.0 to 31.16.1
Bumps Verify.MSTest from 30.5.0 to 31.16.1

---
updated-dependencies:
- dependency-name: MSTest.Analyzers
  dependency-version: 4.2.1
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: MSTest.TestFramework
  dependency-version: 4.2.1
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Verify
  dependency-version: 31.16.1
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Verify.MSTest
  dependency-version: 31.16.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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 Apr 22, 2026
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