Skip to content

deps: Bump MSTest.TestAdapter and MSTest.TestFramework - #6

Merged
depthbomb merged 1 commit into
masterfrom
dependabot/nuget/Squash.Core.Tests/multi-2634df520a
Aug 26, 2026
Merged

deps: Bump MSTest.TestAdapter and MSTest.TestFramework#6
depthbomb merged 1 commit into
masterfrom
dependabot/nuget/Squash.Core.Tests/multi-2634df520a

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 26, 2026

Copy link
Copy Markdown
Contributor

Updated MSTest.TestAdapter from 3.11.1 to 4.3.3.

Release notes

Sourced from MSTest.TestAdapter's releases.

4.3.3

See the release notes here

4.3.2

See the release notes here

4.3.0

See the release notes here

4.2.3

See the release notes here

4.2.2

See the release notes here

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

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

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

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

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

## 4.3.3

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

## 4.3.2

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

## 4.3.0

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

## 4.2.3

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

## 4.2.2

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

## 4.2.1

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

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

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

@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Aug 26, 2026
@depthbomb

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/nuget/Squash.Core.Tests/multi-2634df520a branch from 2b171b4 to 9fef408 Compare August 26, 2026 03:54
@depthbomb
depthbomb force-pushed the dependabot/nuget/Squash.Core.Tests/multi-2634df520a branch from 9fef408 to 6a2dd38 Compare August 26, 2026 03:55
@depthbomb

Copy link
Copy Markdown
Owner

@dependabot recreate

Bumps MSTest.TestAdapter from 3.11.1 to 4.3.3
Bumps MSTest.TestFramework from 3.11.1 to 4.3.3

---
updated-dependencies:
- dependency-name: MSTest.TestAdapter
  dependency-version: 4.3.3
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: MSTest.TestFramework
  dependency-version: 4.3.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/nuget/Squash.Core.Tests/multi-2634df520a branch from 6a2dd38 to 2e349fb Compare August 26, 2026 04:02
@depthbomb

Copy link
Copy Markdown
Owner

Validated the MSTest 4.3.3 updates after recreating the branch from current master:

  • dotnet restore Squash.slnx completed successfully.
  • dotnet build Squash.slnx --configuration Release --no-restore completed with 0 warnings and 0 errors.
  • dotnet test Squash.Core.Tests\Squash.Core.Tests.csproj --configuration Release --no-build passed all 9 tests.
  • The Dependency Review check passed on the recreated commit.

The requested updates are complete and ready to merge.

@depthbomb
depthbomb merged commit f5f6bd9 into master Aug 26, 2026
1 check passed
@dependabot
dependabot Bot deleted the dependabot/nuget/Squash.Core.Tests/multi-2634df520a branch August 26, 2026 04:03
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.

1 participant