Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump MSTest.TestFramework from 3.3.1 to 3.4.3 (#14227)
Bumps [MSTest.TestFramework](https://github.com/microsoft/testfx) from 3.3.1 to 3.4.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/testfx/releases">MSTest.TestFramework's releases</a>.</em></p> <blockquote> <h2>v3.4.3</h2> <p>See the release notes <a href="https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.4.3">here</a></p> <h2>v.3.4.2</h2> <p>See the release notes <a href="https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.4.2">here</a></p> <h2>v3.4.1</h2> <p>See the release notes <a href="https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.4.1">here</a></p> <h2>v3.4.0</h2> <p>Here are the highlights of the current release, full change log is available below:</p> <p><a href="https://github.com/microsoft/testfx/compare/v3.3.1...v3.4.0">https://github.com/microsoft/testfx/compare/v3.3.1...v3.4.0</a></p> <h2>MSTest</h2> <h3>New and improved analyzers</h3> <p>We've added more code analyzers to help you prevent mistakes, and to ensure a consistent code style of your tests.</p> <p>One example of a new analyzer that was added in 3.4.0 is <code>MSTEST0024: Do not store TestContext in static members</code>. This analyzer has <code>info</code> severity by default, and will show a message, when you store <code>TestContext</code> in a static member in your class. This is not recommended, and you should be using a <code>TestContext</code> property instead:</p> <p><img src="https://github.com/microsoft/testfx/assets/5735905/ab0f95c3-f83e-47b9-a995-87161cb6a61c" alt="image" /></p> <p>The other analyzers added in this release:</p> <ul> <li>MSTEST0017: Assertion arguments should be passed in the correct order by <a href="https://github.com/Evangelink"><code>@Evangelink</code></a> in <a href="https://redirect.github.com/microsoft/testfx/pull/2256">#2256</a></li> <li>MSTEST0019: Prefer TestInitialize over ctor by <a href="https://github.com/Evangelink"><code>@Evangelink</code></a> in <a href="https://redirect.github.com/microsoft/testfx/pull/2580">#2580</a></li> <li>MSTEST0020: Prefer ctors over TestInitialize methods by <a href="https://github.com/Evangelink"><code>@Evangelink</code></a> in <a href="https://redirect.github.com/microsoft/testfx/pull/2582">#2582</a></li> <li>MSTEST0021: Prefer Dispose over TestCleanup methods by <a href="https://github.com/Evangelink"><code>@Evangelink</code></a> in <a href="https://redirect.github.com/microsoft/testfx/pull/2585">#2585</a></li> <li>MSTEST0022: Prefer 'TestCleanup' methods over Dispose by <a href="https://github.com/Evangelink"><code>@Evangelink</code></a> in <a href="https://redirect.github.com/microsoft/testfx/pull/2586">#2586</a></li> <li>MSTEST0023: Do not negate boolean assertions by <a href="https://github.com/Evangelink"><code>@Evangelink</code></a> in <a href="https://redirect.github.com/microsoft/testfx/pull/2594">#2594</a></li> <li>MSTEST0024: Do not store TestContext in static members by <a href="https://github.com/Evangelink"><code>@Evangelink</code></a> in <a href="https://redirect.github.com/microsoft/testfx/pull/2597">#2597</a></li> <li>Add PreferAssertFailOverAlwaysFalseConditionsAnalyzer by <a href="https://github.com/Youssef1313"><code>@Youssef1313</code></a> in <a href="https://redirect.github.com/microsoft/testfx/pull/2799">#2799</a></li> </ul> <p>If you've just learned about MSTest analyzers, please also check out the <a href="https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/overview">analyzers that were added in previous releases</a>. They will help you ensure that your test classes and test methods are recognized by MSTest and are not accidentally ignored.</p> <p>The analyzers are automatically installed with the <a href="https://www.nuget.org/packages/MSTest/">MSTest</a> NuGet meta-package. But can also be installed separately using the <a href="https://www.nuget.org/packages/MSTest.Analyzers/">MSTest.Analyzers</a> NuGet package.</p> <h3>More timeout options</h3> <p>Timeout can now be specified on all fixture methods, including ClassCleanup, AssemblyCleanup, TestCleanup and TestInitalize. In this case I want my <code>[ClassCleanup]</code> to time out after 1 second:</p> <p><img src="https://github.com/microsoft/testfx/assets/5735905/517bd606-36f8-4096-9e30-e8b88580f46c" alt="image" /></p> <p>Alternatively timeouts can be specified through runsettings. For example like this:</p> <pre lang="xml"><code><RunSettings> <MSTest> </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/microsoft/testfx/blob/main/docs/Changelog.md">MSTest.TestFramework's changelog</a>.</em></p> <blockquote> <h2><!-- raw HTML omitted --><!-- raw HTML omitted -->[3.4.3] - 2024-05-30</h2> <p>See full log <a href="https://github.com/microsoft/testfx/compare/v3.4.2...v3.4.3">here</a></p> <h3>Fixed</h3> <ul> <li>Revert version of Code Coverage to 17.10.4 by <a href="https://github.com/Evangelink"><code>@Evangelink</code></a> in <a href="https://redirect.github.com/microsoft/testfx/pull/3048">#3048</a></li> </ul> <h3>Artifacts</h3> <ul> <li>MSTest: <a href="https://www.nuget.org/packages/MSTest/3.4.3">3.4.3</a></li> <li>MSTest.TestFramework: <a href="https://www.nuget.org/packages/MSTest.TestFramework/3.4.3">3.4.3</a></li> <li>MSTest.TestAdapter: <a href="https://www.nuget.org/packages/MSTest.TestAdapter/3.4.3">3.4.3</a></li> <li>MSTest.Analyzers: <a href="https://www.nuget.org/packages/MSTest.Analyzers/3.4.3">3.4.3</a></li> <li>MSTest.Sdk: <a href="https://www.nuget.org/packages/MSTest.Sdk/3.4.3">3.4.3</a></li> <li>Microsoft.Testing.Extensions.CrashDump: <a href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.CrashDump/1.2.1">1.2.1</a></li> <li>Microsoft.Testing.Extensions.HangDump: <a href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.HangDump/1.2.1">1.2.1</a></li> <li>Microsoft.Testing.Extensions.HotReload: <a href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.HotReload/1.2.1">1.2.1</a></li> <li>Microsoft.Testing.Extensions.Retry: <a href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.Retry/1.2.1">1.2.1</a></li> <li>Microsoft.Testing.Extensions.TrxReport: <a href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.TrxReport/1.2.1">1.2.1</a></li> </ul> <h2><!-- raw HTML omitted --><!-- raw HTML omitted -->[3.4.2] - 2024-05-30</h2> <p>See full log <a href="https://github.com/microsoft/testfx/compare/v3.4.1...v3.4.2">here</a></p> <h3>Fixed</h3> <ul> <li>Use latest released version for Playwright and Aspire by <a href="https://github.com/Evangelink"><code>@Evangelink</code></a> in <a href="https://redirect.github.com/microsoft/testfx/pull/3024">#3024</a></li> <li>Fix project samples for 3.4 by <a href="https://github.com/Evangelink"><code>@Evangelink</code></a> in <a href="https://redirect.github.com/microsoft/testfx/pull/3032">#3032</a></li> <li>Fix assembly resolution with DeploymentItem by <a href="https://github.com/Evangelink"><code>@Evangelink</code></a> in <a href="https://redirect.github.com/microsoft/testfx/pull/3034">#3034</a></li> </ul> <h3>Artifacts</h3> <ul> <li>MSTest: <a href="https://www.nuget.org/packages/MSTest/3.4.2">3.4.2</a></li> <li>MSTest.TestFramework: <a href="https://www.nuget.org/packages/MSTest.TestFramework/3.4.2">3.4.2</a></li> <li>MSTest.TestAdapter: <a href="https://www.nuget.org/packages/MSTest.TestAdapter/3.4.2">3.4.2</a></li> <li>MSTest.Analyzers: <a href="https://www.nuget.org/packages/MSTest.Analyzers/3.4.2">3.4.2</a></li> <li>MSTest.Sdk: <a href="https://www.nuget.org/packages/MSTest.Sdk/3.4.2">3.4.2</a></li> <li>Microsoft.Testing.Extensions.CrashDump: <a href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.CrashDump/1.2.1">1.2.1</a></li> <li>Microsoft.Testing.Extensions.HangDump: <a href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.HangDump/1.2.1">1.2.1</a></li> <li>Microsoft.Testing.Extensions.HotReload: <a href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.HotReload/1.2.1">1.2.1</a></li> <li>Microsoft.Testing.Extensions.Retry: <a href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.Retry/1.2.1">1.2.1</a></li> <li>Microsoft.Testing.Extensions.TrxReport: <a href="https://www.nuget.org/packages/Microsoft.Testing.Extensions.TrxReport/1.2.1">1.2.1</a></li> </ul> <h2><!-- raw HTML omitted --><!-- raw HTML omitted -->[3.4.1] - 2024-05-27</h2> <p>See full log <a href="https://github.com/microsoft/testfx/compare/v3.4.0...v3.4.1">here</a></p> <h3>Fixed</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/testfx/commit/27aa72e614fcb7cbdf959165018881717b934519"><code>27aa72e</code></a> Revert version of Code Coverage to 17.10.4 (<a href="https://redirect.github.com/microsoft/testfx/issues/3048">#3048</a>)</li> <li><a href="https://github.com/microsoft/testfx/commit/1225aed0f07900d393e197e67b1b473795ab4e48"><code>1225aed</code></a> Update Versions.props</li> <li><a href="https://github.com/microsoft/testfx/commit/a50234016067e14c1110e1794ceea1ae9881ff7c"><code>a502340</code></a> Fix assembly resolution with DeploymentItem (<a href="https://redirect.github.com/microsoft/testfx/issues/3034">#3034</a>)</li> <li><a href="https://github.com/microsoft/testfx/commit/5d5c982a370ab348390905ae80d9c002c9e0f697"><code>5d5c982</code></a> Fix project samples for release 3.4 (<a href="https://redirect.github.com/microsoft/testfx/issues/3032">#3032</a>)</li> <li><a href="https://github.com/microsoft/testfx/commit/c08d299a4ca11110107f55fba79752929f0ca715"><code>c08d299</code></a> Use latest released version for Playwright and Aspire (<a href="https://redirect.github.com/microsoft/testfx/issues/3024">#3024</a>)</li> <li><a href="https://github.com/microsoft/testfx/commit/394f7a417c039f7094d271430a74aa4cc2900841"><code>394f7a4</code></a> [rel/3.4] Update dependencies from devdiv/DevDiv/vs-code-coverage (<a href="https://redirect.github.com/microsoft/testfx/issues/3013">#3013</a>)</li> <li><a href="https://github.com/microsoft/testfx/commit/efc614f02eab4484f882341374ce475fa6411aa6"><code>efc614f</code></a> Fix assembly resolution error (<a href="https://redirect.github.com/microsoft/testfx/issues/2948">#2948</a>)</li> <li><a href="https://github.com/microsoft/testfx/commit/b4ab8ee7caa9bb6bac49d11f162e631557e291bb"><code>b4ab8ee</code></a> Bump version to 3.4.1</li> <li><a href="https://github.com/microsoft/testfx/commit/bafa77bd2fdc8e583006021d41106ea166dd362c"><code>bafa77b</code></a> Use VSTest 17.10 (<a href="https://redirect.github.com/microsoft/testfx/issues/2902">#2902</a>)</li> <li><a href="https://github.com/microsoft/testfx/commit/7fd9f76d171234644e927b885884f578bb72185b"><code>7fd9f76</code></a> Use latest version of TA and MSTest.Engine (<a href="https://redirect.github.com/microsoft/testfx/issues/2885">#2885</a>)</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/testfx/compare/v3.3.1...v3.4.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=MSTest.TestFramework&package-manager=nuget&previous-version=3.3.1&new-version=3.4.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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> ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/14227) > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Anthony Martin <38542602+anthony-c-martin@users.noreply.github.com>
- Loading branch information