mgnz / cuttingedge.conditions

Write pre- and postcondition validations in your C# and VB.NET code base.
1 stars 0 forks source link

Bump MSTest.TestFramework from 2.1.2 to 3.0.0 in /Conditions #108

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps MSTest.TestFramework from 2.1.2 to 3.0.0.

Release notes

Sourced from MSTest.TestFramework's releases.

v3.0.0

See the release notes here.

v3.0.0-preview-20221122-01

See the release notes here.

v3.0.0-preview-20221110-04

See the release notes here.

Breaking changes

See breaking changes announcement

  • Following Microsoft .NET lifecycle
    • Dropped support for .NET Framework 4.5 (moved to 4.6.2)
    • Dropped support for .NET Standard 1.0 (moved to 2.0)
    • Dropped support for UWP before 16299
    • Dropped support for WinUI before 18362
    • Dropped support for .NET 5 (replaced with netcoreapp3.1 and .NET 6)
  • Merge timeout behaviors across all target frameworks
  • Change available constructors for DataRowAttribute
  • Change test ID generation strategy (allow to switch to previous strategies)

v2.3.0-preview-20220810-02

See release notes here.

v2.2.10

See release notes here.

v2.2.10-preview-20220414-01

See release notes here.

v2.2.9

Parallel output

🙇 Shout out to @​SimonCropp, for bringing this functionality to XUnit in his https://github.com/SimonCropp/XunitContext project. And being an inspiration for implementing this.

MSTest 2.2.9 captures all Console output and attaches it to the correct test, even if you are running tests in parallel. This output is captured from your test code as well as from the tested code. And it requires no special setup.

Before

In 2.2.8, test output is scattered among tests, in our example, one unlucky test gets all the output of other tests just mixed together:

image

After

With 2.2.9, each output is correctly attached to the test that produced it:

image image

... (truncated)

Changelog

Sourced from MSTest.TestFramework's changelog.

[3.0.0] - 2022-12-06

See full log here

Breaking changes announcements #1274

Added

  • Assert.AreEqual/AreNotEqual overloads with IEquatable #1433
  • Add DoesNotReturn attribute for Assert.Inconclusive methods #1422
  • Allow to override GetDisplayName method from DataRowAttribute #1413
  • Add computer name on the test result #1409
  • Add public api analyzers #1318
  • Enable nullable for TestAdapter project #1370
  • Enable nullable for Platform Services #1366
  • Enable nullables for Framework #1365
  • Enable nullable for TestFramework.Extensions #1363
  • Introduce strategies for test ID generation #1306
  • Add support for AsyncDisposable cleanup #1288
  • Add Assert.IsInstanceOfType #1241

Changed

  • Follow supported .NET frameworks:
    • Dropped support for .NET Framework before 4.6.2 (net462)
    • Dropped support for .NET Standard before 2.0 (netstandard2.0)
    • Dropped support for UWP before 16299
    • Dropped support for WinUI before 18362
    • Replaced support of .NET 5 by .NETCore 3.1 and .NET 6.0
  • Assert.AreSame/AreNotSame use generic instead of object #1430
  • Make BeginTimer and EndTimer methods obsolete #1425
  • Unify DeploymentDirectory location across target frameworks #1414
  • Add class/assembly cleanup/init messages to first/last test #1390
  • Document that DeploymentItemAttribute only works for a test class with test method #1399
  • Use NewtonsoftJson v13.0.1 #1361
  • Merge timeout behaviors for .NET Core and .NET Framework #1296
  • Mark exceptions with SerializableAttribute #1186

Removed

  • Remove Assert.AreEqual/AreNotEqual overloads with object object #1429

Fixed

  • Propagate UI culture to appdomain #1401
  • Include localization in Test Framework NuGet #1397
  • Refactor available ctors for DataRowAttribute #1332
  • Fix issue causing null ref when test class has no namespace #1283
  • Unwrap real exception from TargetInvocationException #1254
  • Fixed the case ignoring in AreEqual() with culture parameter #1216

... (truncated)

Commits
  • 64938de Make branding release
  • 1e00ece [main] Update dependencies from dotnet/arcade (#1436)
  • 539120b Use NuGet version of TP instead of darc (#1435)
  • c5120fd Assert.AreEqual/AreNotEqual overloads with IEquatable (#1433)
  • 73f02b4 Localized file check-in by OneLocBuild Task: Build definition ID 4138: Build ...
  • 0423306 Remove Assert.AreEqual/AreNotEqual overloads with object object (#1429)
  • 0d93a75 Assert.AreSame/AreNotSame use generic instead of object (#1430)
  • f93eade Fixup some nullability mismatch (#1427)
  • 0dd258f Make BeginTimer and EndTimer methods obsolete (#1425)
  • a09511f Align with vstest release notes script
  • Additional commits viewable in compare view


Dependabot compatibility score

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 commands and options
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 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)
dependabot[bot] commented 1 year ago

Superseded by #111.