Skip to content

Bump MSTest.TestFramework from 3.10.4 to 4.3.2#10

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/SW.ExcelImport.UnitTests/main/MSTest.TestFramework-4.3.2
Closed

Bump MSTest.TestFramework from 3.10.4 to 4.3.2#10
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/SW.ExcelImport.UnitTests/main/MSTest.TestFramework-4.3.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown

Updated MSTest.TestFramework from 3.10.4 to 4.3.2.

Release notes

Sourced from MSTest.TestFramework's releases.

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

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


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

@dependabot @github

dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: nuget. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jul 13, 2026
@dependabot
dependabot Bot force-pushed the dependabot/nuget/SW.ExcelImport.UnitTests/main/MSTest.TestFramework-4.3.2 branch from 2df755f to 39818d1 Compare July 13, 2026 14:58
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jul 13, 2026
@MusaMisto

Copy link
Copy Markdown
Member

@dependabot rebase

---
updated-dependencies:
- dependency-name: MSTest.TestFramework
  dependency-version: 4.3.2
  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/SW.ExcelImport.UnitTests/main/MSTest.TestFramework-4.3.2 branch from 39818d1 to 5fd8867 Compare July 15, 2026 08:35
@dependabot @github

dependabot Bot commented on behalf of github Jul 15, 2026

Copy link
Copy Markdown
Author

Superseded by #11.

@dependabot dependabot Bot closed this Jul 15, 2026
@dependabot
dependabot Bot deleted the dependabot/nuget/SW.ExcelImport.UnitTests/main/MSTest.TestFramework-4.3.2 branch July 15, 2026 14:43
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant