Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 3, 2024

Note

Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to mend[bot].

This notice will be removed on 2025-10-07.


This PR contains the following updates:

Package Change Age Confidence
MSTest.TestAdapter 3.2.2 -> 3.11.0 age confidence
MSTest.TestFramework 3.2.2 -> 3.11.0 age confidence

Release Notes

microsoft/testfx (MSTest.TestAdapter)

v3.11.0

See the release notes here

v3.10.5

See the release notes here

v3.10.4

See the release notes here

v3.10.3

See the release notes here

v3.10.2

See the release notes here

v3.10.1

See the release notes here

v3.10.0

See the release notes here

v3.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: #​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: microsoft/testfx@v3.9.2...v3.9.3

v3.9.2

What's Changed

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

Full Changelog: microsoft/testfx@v3.9.1...v3.9.2

v3.9.1

What's Changed

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

Full Changelog: microsoft/testfx@v3.9.0...v3.9.1

v3.9.0

In this release we focused a lot on providing fixes for MSTest and Microsoft.Testing.Platform. The most notable new features and fixes are:

MSTest
Microsoft.Testing.Platform

We've also improved the dotnet test experience in dotnet SDK, especially around Retry plugin experience, and started dogfooding the experience in our own repository. Please check out how to enable the new dotnet test experience for Microsoft.Testing.Platform in net10 by following this link, and help us dogfood it.

New Contributors

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

Full Changelog: microsoft/testfx@v3.8.3...v3.9.0

v3.8.3

See the release notes here

v3.8.2

See the release notes here

v3.8.1

See the release notes here

v3.8.0

See the release notes here

Announcements

v3.7.3

See the release notes here

v3.7.2

See the release notes here

v3.7.1

See the release notes here

v3.7.0

See the release notes here

Announcements

MSTest.Analyzers is now a transitive dependency of MSTest.TestFramework and thus no longer needs to be manually installed.

Note: The only rules enabled by default as warnings, which could potentially cause build errors when updating MSTest, have been carefully selected and thoroughly validated. These rules specifically address real runtime issues related to the usage of MSTest, ensuring that no purely stylistic or low-impact analyzers are enforced by default.

v3.6.4

See the release notes here

v3.6.3

See the release notes here

v3.6.2

See the release notes here

v3.6.1

See the release notes here

v3.6.0

See the release notes here

Special shoutout to @​SimonCropp for his exceptional contribution in improving the quality of the repository.

v3.5.2

See the release notes here

v3.5.1

See the release notes here

v3.5.0

See the release notes here

v3.4.3

See the release notes here

v3.4.2: v.3.4.2

See the release notes here

v3.4.1

See the release notes here

v3.4.0

Here are the highlights of the current release, full change log is available below:

MSTest

New and improved analyzers

We've added more code analyzers to help you prevent mistakes, and to ensure a consistent code style of your tests.

One example of a new analyzer that was added in 3.4.0 is MSTEST0024: Do not store TestContext in static members. This analyzer has info severity by default, and will show a message, when you store TestContext in a static member in your class. This is not recommended, and you should be using a TestContext property instead:

image

The other analyzers added in this release:

If you've just learned about MSTest analyzers, please also check out the analyzers that were added in previous releases. They will help you ensure that your test classes and test methods are recognized by MSTest and are not accidentally ignored.

The analyzers are automatically installed with the MSTest NuGet meta-package. But can also be installed separately using the MSTest.Analyzers NuGet package.

More timeout options

Timeout can now be specified on all fixture methods, including ClassCleanup, AssemblyCleanup, TestCleanup and TestInitalize. In this case I want my [ClassCleanup] to time out after 1 second:

image

Alternatively timeouts can be specified through runsettings. For example like this:

<RunSettings>
  <MSTest>
    <ClassCleanupTimeout>1000</ClassCleanupTimeout>
  </MSTest>
</RunSettings>
Better errors on data mismatch

When you provide data that don't match your test method signature, the test will fail with an informative message, rather than just "Parameter count mismatch.".

image

image

(There is also an analyzer that helps with the same while you are writing the code.)

MSTest SDK updates

We've introduced MSTest project SDK in this .NET Blog post.

Choosing version in global.json

In this release we are promoting a way to define the MSTest.Sdk version in global.json. This makes it easier to specify the version in a single place, instead of in every project.

{
    "msbuild-sdks": {
        "MSTest.Sdk": "3.4.0"
    }
}
<Project Sdk="MSTest.Sdk">
  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
  </PropertyGroup>
</Project>
Playwright support

We've added a property to enable Playwright, to simplify creating web tests:

<Project Sdk="MSTest.Sdk">
  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>

    <EnablePlaywright>true</EnablePlaywright>
  </PropertyGroup>
</Project>
Aspire testing support

Similarly we've added a property to enable Aspire testing:

<Project Sdk="MSTest.Sdk">
  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>

    <EnabledAspireTesting>true</EnabledAspireTesting>
  </PropertyGroup>
</Project>
Central package management

NuGet central package management can now be used together with MSTest.Sdk.

More examples of SDK projects

To see more examples of projects using MSTest.Sdk:
https://github.com/microsoft/testfx/tree/rel/3.4/samples/public/DemoMSTestSdk

MSTest runner

Simpler banner

We've took inspiration from MSBuild and simplified the runner banner, to show the information, on a single line:

.NET Testing Platform v1.2.0+3abae95b6 (UTC 2024/05/03) [win-x64 - .NET 8.0.4]
STA support and WinUI support

The runner can be configured to run in STA (Single Thread Apartment) mode, which is required for running UI tests. And it also supports WinUI workloads.

See MSTestRunnerWinUI example

And more

And much more, see the complete change log here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.4.0

New Contributors

A special thank you to all our new contributors:

v3.3.1

See the release notes here

v3.3.0

See the release notes here.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update mstest monorepo to v3.3.0 chore(deps): update mstest monorepo to v3.3.1 Apr 4, 2024
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from e27fe3a to 94f7cf0 Compare April 4, 2024 15:39
@renovate renovate bot changed the title chore(deps): update mstest monorepo to v3.3.1 chore(deps): update mstest monorepo to v3.4.0 May 23, 2024
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch 2 times, most recently from 51addff to b621d69 Compare May 27, 2024 16:30
@renovate renovate bot changed the title chore(deps): update mstest monorepo to v3.4.0 chore(deps): update mstest monorepo to v3.4.1 May 27, 2024
@renovate renovate bot changed the title chore(deps): update mstest monorepo to v3.4.1 chore(deps): update mstest monorepo to v3.4.2 May 30, 2024
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from b621d69 to 5ba1cfe Compare May 30, 2024 10:01
@renovate renovate bot changed the title chore(deps): update mstest monorepo to v3.4.2 chore(deps): update mstest monorepo to v3.4.3 May 30, 2024
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from 5ba1cfe to c044da1 Compare May 30, 2024 16:33
@renovate renovate bot changed the title chore(deps): update mstest monorepo to v3.4.3 chore(deps): update mstest monorepo to v3.5.0 Jul 16, 2024
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from c044da1 to 279e3ea Compare July 16, 2024 21:53
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from 279e3ea to d24367d Compare August 5, 2024 21:51
@renovate renovate bot changed the title chore(deps): update mstest monorepo to v3.5.0 chore(deps): update mstest monorepo to v3.5.1 Aug 5, 2024
@renovate renovate bot changed the title chore(deps): update mstest monorepo to v3.5.1 chore(deps): update mstest monorepo to v3.5.2 Aug 13, 2024
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from d24367d to 80a7cdc Compare August 13, 2024 17:06
@renovate renovate bot changed the title chore(deps): update mstest monorepo to v3.5.2 chore(deps): update mstest monorepo to 3.5.2 Aug 28, 2024
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from 80a7cdc to cdb325e Compare September 11, 2024 10:12
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.5.2 chore(deps): update mstest monorepo to 3.6.0 Sep 11, 2024
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.6.0 chore(deps): update mstest monorepo to 3.6.1 Oct 3, 2024
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from cdb325e to 269846e Compare October 3, 2024 15:02
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.6.1 chore(deps): update mstest monorepo to 3.6.2 Oct 31, 2024
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from 269846e to d808446 Compare October 31, 2024 15:48
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.6.2 chore(deps): update mstest monorepo to 3.6.3 Nov 12, 2024
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from d808446 to c15a193 Compare November 12, 2024 15:51
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from c15a193 to bc3e458 Compare December 3, 2024 20:48
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.6.3 chore(deps): update mstest monorepo to 3.6.4 Dec 3, 2024
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.6.4 chore(deps): update mstest monorepo to 3.7.0 Dec 20, 2024
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from bc3e458 to aab0ed5 Compare December 20, 2024 18:26
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.7.0 chore(deps): update mstest monorepo to 3.7.1 Jan 13, 2025
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.7.3 chore(deps): update mstest monorepo to 3.8.0 Feb 12, 2025
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.8.0 chore(deps): update mstest monorepo to 3.8.1 Feb 18, 2025
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch 2 times, most recently from 203cd41 to 83c0313 Compare February 19, 2025 17:12
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.8.1 chore(deps): update mstest monorepo to 3.8.2 Feb 19, 2025
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from 83c0313 to 2bcd3b5 Compare March 17, 2025 18:10
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.8.2 chore(deps): update mstest monorepo to 3.8.3 Mar 17, 2025
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.8.3 chore(deps): update mstest monorepo to 3.9.0 May 20, 2025
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from 2bcd3b5 to ca89435 Compare May 20, 2025 07:45
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from ca89435 to d588f3e Compare May 27, 2025 17:22
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.9.0 chore(deps): update mstest monorepo to 3.9.1 May 27, 2025
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from d588f3e to 59b8078 Compare June 10, 2025 15:58
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.9.1 chore(deps): update mstest monorepo to 3.9.2 Jun 10, 2025
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from 59b8078 to 06b1803 Compare June 17, 2025 16:58
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.9.2 chore(deps): update mstest monorepo to 3.9.3 Jun 17, 2025
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from 06b1803 to cb48b6e Compare July 29, 2025 18:07
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.9.3 chore(deps): update mstest monorepo to 3.10.0 Jul 29, 2025
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from cb48b6e to 7915b7a Compare August 5, 2025 21:24
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.10.0 chore(deps): update mstest monorepo to 3.10.1 Aug 5, 2025
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from 7915b7a to 120ff8b Compare August 12, 2025 11:11
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.10.1 chore(deps): update mstest monorepo to 3.10.2 Aug 12, 2025
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from 120ff8b to d4cf783 Compare August 26, 2025 16:43
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.10.2 chore(deps): update mstest monorepo to 3.10.3 Aug 26, 2025
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.10.3 chore(deps): update mstest monorepo to 3.10.4 Sep 19, 2025
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from d4cf783 to 307bdb5 Compare September 19, 2025 16:01
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from 307bdb5 to 778a8e1 Compare September 30, 2025 19:23
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.10.4 chore(deps): update mstest monorepo to 3.10.5 Sep 30, 2025
@renovate renovate bot force-pushed the renovate/mstest-monorepo branch from 778a8e1 to f70fe34 Compare October 1, 2025 21:46
@renovate renovate bot changed the title chore(deps): update mstest monorepo to 3.10.5 chore(deps): update mstest monorepo to 3.11.0 Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants