Skip to content

Bump MSTest.TestAdapter, MSTest.TestFramework and Reqnroll.MsTest#235

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/Solutions/Corvus.Monitoring.AspnetCore.Mvc.Specs/multi-c04b783fee
Closed

Bump MSTest.TestAdapter, MSTest.TestFramework and Reqnroll.MsTest#235
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/Solutions/Corvus.Monitoring.AspnetCore.Mvc.Specs/multi-c04b783fee

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Updated MSTest.TestAdapter from 3.9.2 to 4.2.1.

Release notes

Sourced from MSTest.TestAdapter'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)


## 3.9.3

## What's Changed

* Simpler fix for dotnet test when using retry by @​Youssef1313 in #​5732. Note that this PR targets rel/3.9 branch. For 3.10, we did a different fix: https://github.com/microsoft/testfx/pull/5717

See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#​3.9.3
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#​1.7.3

**Full Changelog**: https://github.com/microsoft/testfx/compare/v3.9.2...v3.9.3

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

Updated [MSTest.TestFramework](https://github.com/microsoft/testfx) from 3.9.2 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)


## 3.9.3

## What's Changed

* Simpler fix for dotnet test when using retry by @​Youssef1313 in #​5732. Note that this PR targets rel/3.9 branch. For 3.10, we did a different fix: https://github.com/microsoft/testfx/pull/5717

See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#​3.9.3
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#​1.7.3

**Full Changelog**: https://github.com/microsoft/testfx/compare/v3.9.2...v3.9.3

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

Updated Reqnroll.MsTest from 2.4.1 to 3.3.0.

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.TestAdapter from 3.9.2 to 4.2.1
Bumps MSTest.TestFramework from 3.9.2 to 4.2.1
Bumps Reqnroll.MsTest from 2.4.1 to 3.3.0

---
updated-dependencies:
- dependency-name: MSTest.TestAdapter
  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: Reqnroll.MsTest
  dependency-version: 3.3.0
  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
@github-actions
Copy link
Copy Markdown

Code Coverage Summary Report - Linux (No TFM)

Summary
Generated on: 04/22/2026 - 02:49:13
Parser: Cobertura
Assemblies: 7
Classes: 51
Files: 42
Line coverage: 94.8% (795 of 838)
Covered lines: 795
Uncovered lines: 43
Coverable lines: 838
Total lines: 3037
Branch coverage: 71.4% (100 of 140)
Covered branches: 100
Total branches: 140
Method coverage: Feature is only available for sponsors

Coverage

Corvus.Monitoring.ApplicationInsights - 88.4%
Name Line Branch
Corvus.Monitoring.ApplicationInsights 88.4% 78.5%
Corvus.Monitoring.ApplicationInsights.AiExceptionsInstrumentation 100% 100%
Corvus.Monitoring.ApplicationInsights.AiOperationsInstrumentation 88.4% 83.3%
Corvus.Monitoring.ApplicationInsights.AiOperationsInstrumentation.Operation 80% 50%
Microsoft.Extensions.DependencyInjection.ApplicationInsightsTelemetryServic
eCollectionExtensions
100%
Corvus.Monitoring.ApplicationInsights.Specs - 97.9%
Name Line Branch
Corvus.Monitoring.ApplicationInsights.Specs 97.9% 60%
Corvus.Monitoring.ApplicationInsights.Specs.AdditionalDetailTests 100%
Corvus.Monitoring.ApplicationInsights.Specs.AiExceptionsInstrumentationSpec
s
100%
Corvus.Monitoring.ApplicationInsights.Specs.AiOperationsInstrumentationSpec
s
100% 50%
Corvus.Monitoring.ApplicationInsights.Specs.AiSpecsBase 100% 50%
Corvus.Monitoring.ApplicationInsights.Specs.AiTestContext 94.1% 100%
Corvus.Monitoring.ApplicationInsights.Specs.AiTestContext.FakeTelemetryChan
nel
71.4%
Corvus.Monitoring.ApplicationInsights.Specs.TelemetryClientViaDiSpecs 100%
Corvus.Monitoring.AspnetCore.Mvc - 96.2%
Name Line Branch
Corvus.Monitoring.AspnetCore.Mvc 96.2% 60%
Corvus.Monitoring.AspNetCore.Mvc.HttpContextExtensions 100% 50%
Corvus.Monitoring.AspnetCore.Mvc.MonitoringExtensions 80% 62.5%
Corvus.Monitoring.AspnetCore.Mvc.ObservableActionMethodsAttribute 100%
Corvus.Monitoring.AspnetCore.Mvc.Demo - 85.1%
Name Line Branch
Corvus.Monitoring.AspnetCore.Mvc.Demo 85.1% 50%
AspNetCoreGeneratedDocument.Views_Home_Index 100%
Corvus.Monitoring.AspnetCore.Mvc.Demo.Controllers.BaseController 100%
Corvus.Monitoring.AspnetCore.Mvc.Demo.Controllers.HomeController 100% 50%
Corvus.Monitoring.AspnetCore.Mvc.Demo.Models.HomeViewModel 60%
Program 85.7% 50%
Corvus.Monitoring.AspnetCore.Mvc.Specs - 84.6%
Name Line Branch
Corvus.Monitoring.AspnetCore.Mvc.Specs 84.6% 54.5%
Corvus_Monitoring_AspnetCore_Mvc_Specs_MSTestAssemblyHooks 69.5%
Corvus_Monitoring_AspnetCore_Mvc_Specs_MSTestAssemblyHooks.MsTestRuntimeAda
pter
61.5%
Corvus.Monitoring.AspnetCore.Mvc.Specs.Bindings.DemoSiteBindings 100% 50%
Corvus.Monitoring.AspnetCore.Mvc.Specs.Bindings.DemoWebApplicationFactory 100% 100%
Corvus.Monitoring.AspnetCore.Mvc.Specs.Fakes.TestOperationInstance 66.6% 35.7%
Corvus.Monitoring.AspnetCore.Mvc.Specs.Fakes.TestOperationsInstrumentation 100%
Corvus.Monitoring.AspnetCore.Mvc.Specs.Features.InstrumentingControllerActi
onsFeature
100%
Corvus.Monitoring.AspnetCore.Mvc.Specs.Steps.ControllerOperationsSteps 100% 100%
Corvus.Monitoring.Instrumentation.Abstractions - 89.4%
Name Line Branch
Corvus.Monitoring.Instrumentation.Abstractions 89.4% 92.5%
Corvus.Monitoring.Instrumentation.AdditionalInstrumentationDetail 100% 100%
Corvus.Monitoring.Instrumentation.IOperationInstance 100% 100%
Corvus.Monitoring.Instrumentation.NullExceptionsInstrumentation 100%
Corvus.Monitoring.Instrumentation.NullOperationsInstrumentation 60%
Corvus.Monitoring.Instrumentation.NullOperationsInstrumentation.Operation 50%
Corvus.Monitoring.Instrumentation.OperationInstanceExtensions 0% 0%
Corvus.Monitoring.Instrumentation.TaggingExceptionsInstrumentation 100%
Corvus.Monitoring.Instrumentation.TaggingOperationsInstrumentation 100%
Corvus.Monitoring.Instrumentation.TaggingPropertySource 100% 100%
Microsoft.Extensions.DependencyInjection.InstrumentationServiceCollectionEx
tensions
95.8% 94.4%
Corvus.Monitoring.Instrumentation.Abstractions.Specs - 100%
Name Line Branch
Corvus.Monitoring.Instrumentation.Abstractions.Specs 100% 57.1%
Corvus.Monitoring.Instrumentation.Abstractions.Specs.FakeInstrumentationSin
ks
100%
Corvus.Monitoring.Instrumentation.Abstractions.Specs.FakeInstrumentationSin
ks.ExceptionsTarget
100%
Corvus.Monitoring.Instrumentation.Abstractions.Specs.FakeInstrumentationSin
ks.ExceptionsTargetBase
100%
Corvus.Monitoring.Instrumentation.Abstractions.Specs.FakeInstrumentationSin
ks.GenericExceptionsTarget
100%
Corvus.Monitoring.Instrumentation.Abstractions.Specs.FakeInstrumentationSin
ks.GenericOperationsTarget
100%
Corvus.Monitoring.Instrumentation.Abstractions.Specs.FakeInstrumentationSin
ks.OperationsTarget
100%
Corvus.Monitoring.Instrumentation.Abstractions.Specs.FakeInstrumentationSin
ks.OperationsTargetBase
100%
Corvus.Monitoring.Instrumentation.Abstractions.Specs.Fakes.ExceptionDetail 100%
Corvus.Monitoring.Instrumentation.Abstractions.Specs.Fakes.OperationDetail 100% 100%
Corvus.Monitoring.Instrumentation.Abstractions.Specs.FallbackInstrumentatio
nSpecs
100% 50%
Corvus.Monitoring.Instrumentation.Abstractions.Specs.SourceTaggingException
sInstrumentationSpecs
100%
Corvus.Monitoring.Instrumentation.Abstractions.Specs.SourceTaggingOperation
sInstrumentationSpecs
100%
Corvus.Monitoring.Instrumentation.Abstractions.Specs.SourceTaggingSpecsBase 100% 50%
Corvus.Monitoring.Instrumentation.Abstractions.Specs.SourceTaggingTestConte
xt
100%

@github-actions
Copy link
Copy Markdown

Test Results

39 tests  ±0   39 ✅ ±0   2s ⏱️ -1s
 3 suites ±0    0 💤 ±0 
 3 files   ±0    0 ❌ ±0 

Results for commit 09c563b. ± Comparison against base commit 82c8f84.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 1, 2026

Superseded by #240.

@dependabot dependabot Bot closed this May 1, 2026
@dependabot dependabot Bot deleted the dependabot/nuget/Solutions/Corvus.Monitoring.AspnetCore.Mvc.Specs/multi-c04b783fee branch May 1, 2026 02:58
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