Skip to content

Releases: thomhurst/TUnit

1.44.39

14 May 17:09
80563d8

Choose a tag to compare

What's Changed

Other Changes

  • fix(tests): retry trx read to dodge MTP post-exit flush race on Windows by @thomhurst in #5888
  • fix(pipeline): timeout + retry InstallPlaywrightModule so a hung download fails fast by @thomhurst in #5889
  • fix(otel): require two consecutive idle windows in DrainAsync to catch in-transit POSTs by @thomhurst in #5890
  • test(assertions): drop flaky wall-clock upper bound on WaitsFor timeout test by @thomhurst in #5886
  • fix(sourcegen): drop spurious ')' in MethodAssertionGenerator Task emit by @JohnVerheij in #5920
  • fix(sourcegen): merge generic parameter lists in [AssertionExtension] emit by @JohnVerheij in #5921
  • fix(aspnetcore): scope correlation processor per-factory to stop cross-factory tag leak by @thomhurst in #5891
  • Changed FSharp.Core version to 10.1.300 by @licon4812 in #5909
  • feat(mocks): add Mock.HttpClientFactory() helper by @thomhurst in #5894
  • Harden WaitsFor timeout test by @thomhurst in #5926
  • fix(sourcegen): emit default literal for value-type assertion parameters by @JohnVerheij in #5919

Dependencies

  • chore(deps): update dependency nunit to 4.6.0 by @thomhurst in #5826
  • chore(deps): update tunit to 1.44.0 by @thomhurst in #5882
  • chore(deps): update dependency mockolate to 3.2.0 by @thomhurst in #5892
  • chore(deps): update dependency yaml to v2.9.0 by @thomhurst in #5887
  • chore(deps): update dependency nuget.protocol to 7.6.0 by @thomhurst in #5897
  • chore(deps): update dependency microsoft.entityframeworkcore to 10.0.8 by @thomhurst in #5898
  • chore(deps): update dependency microsoft.templateengine.authoring.cli to v10.0.300 by @thomhurst in #5899
  • chore(deps): update microsoft.extensions by @thomhurst in #5905
  • chore(deps): update microsoft.aspnetcore to 10.0.8 by @thomhurst in #5904
  • chore(deps): update dependency microsoft.templateengine.authoring.templateverifier to 10.0.300 by @thomhurst in #5902
  • chore(deps): update aspire to 13.3.1 by @thomhurst in #5900
  • chore(deps): update dependency system.commandline to 2.0.8 by @thomhurst in #5903
  • chore(deps): update dependency azure.storage.blobs to 12.28.0 by @thomhurst in #5910
  • chore(deps): update dependency dotnet-sdk to v10.0.300 by @thomhurst in #5901
  • chore(deps): update dependency stackexchange.redis to 2.13.1 by @thomhurst in #5906
  • chore(deps): update aspire to 13.3.2 by @thomhurst in #5924
  • chore(deps): bump mermaid from 11.12.2 to 11.15.0 in /docs by @dependabot[bot] in #5893
  • chore(deps): update dependency streamjsonrpc to 2.24.92 by @thomhurst in #5915
  • chore(deps): update dependency dompurify to v3.4.3 by @thomhurst in #5913
  • chore(deps): update microsoft.build to 18.6.3 by @thomhurst in #5914

Full Changelog: v1.44.0...v1.44.39

1.44.0

10 May 21:23
42e3be6

Choose a tag to compare

What's Changed

Other Changes

  • Generated mocks live in the same namespace as the mocked type by @thomhurst in #5870
  • Show multi-step test spans in class timeline, align report ordering with execution, and correlate linked OTel activities by @Copilot in #5847
  • fix: don't leak RUC onto Should-style comparer overloads (#5857) by @thomhurst in #5873
  • Fix culture-dependent timestamp in HTML test report (#5868) by @thomhurst in #5872
  • fix(mocks-http): auto-prepend / to partial endpoint paths (#5838) by @thomhurst in #5874
  • Replace Report.ExpandClassTimeline with [ClassTimeline] attribute by @thomhurst in #5875
  • feat(assertions): make ShouldAssertion implement IAssertion (#5824) by @thomhurst in #5876
  • feat(mocks): support non-span ref struct out/ref params by @thomhurst in #5878
  • fix(core): fill optional params when invoking MethodDataSource via reflection by @thomhurst in #5880
  • Mocks: structural fix for Mock / mocked-member name collisions by @thomhurst in #5881
  • chore(mocks): promote TUnit.Mocks packages to stable by @thomhurst in #5877

Dependencies

  • chore(deps): update tunit to 1.43.41 by @thomhurst in #5863
  • chore(deps): update dependency tunit.assertions.fsharp to 1.43.41 by @thomhurst in #5865
  • chore(deps): bump @babel/plugin-transform-modules-systemjs from 7.28.5 to 7.29.4 in /docs by @dependabot[bot] in #5867
  • chore(deps): bump fast-uri from 3.1.0 to 3.1.2 in /docs by @dependabot[bot] in #5862

Full Changelog: v1.43.41...v1.44.0

1.43.41

09 May 00:44
ad32fe7

Choose a tag to compare

What's Changed

Other Changes

  • feat(playwright): expose default Context/Launch options on settings by @thomhurst in #5861
  • fix(hooks): resolve TestDiscovery hook context type by attribute kind, not method name by @thomhurst in #5860

Dependencies

Full Changelog: v1.43.38...v1.43.41

1.43.38

08 May 22:29
b7568d0

Choose a tag to compare

What's Changed

Other Changes

  • feat(playwright): add TUnitPlaywrightSettings defaults by @thomhurst in #5859

Full Changelog: v1.43.37...v1.43.38

1.43.37

08 May 18:51
58b55c6

Choose a tag to compare

What's Changed

Other Changes

  • docs: clarify MethodDataSourceAttribute.Factory is source-generator-managed by @Copilot in #5835
  • fix(assertions): skip ref-struct members in IsEquivalentTo (#5841) by @thomhurst in #5842
  • feat(playwright): add composition-based fixtures by @thomhurst in #5840

Dependencies

Full Changelog: v1.43.11...v1.43.37

1.43.11

02 May 21:54
246d59f

Choose a tag to compare

What's Changed

Other Changes

Dependencies

New Contributors

Full Changelog: v1.43.2...v1.43.11

1.43.2

02 May 06:19
68255eb

Choose a tag to compare

What's Changed

Other Changes

  • fix(assertions): emit auto-generated header in MethodAssertionGenerator output by @JohnVerheij in #5796
  • fix(engine): enforce runtime exclusion for global [NotInParallel] (#5800) by @thomhurst in #5805
  • feat(mocks): add Arg.AnyArgs() shortcut for setup/verify by @thomhurst in #5792
  • fix(should): add specialized assertion sources by @thomhurst in #5806

Dependencies

Full Changelog: v1.41.0...v1.43.2

1.41.0

29 Apr 17:08
534990c

Choose a tag to compare

TUnit Should() Assertions (beta)

This versions comes with a beta version of TUnit.Assertions.Should - meaning that you can do:
myCode.Should().BeEqualTo(fluentShouldSyntax);

For more information see the docs: https://tunit.dev/docs/assertions/should-syntax

What's Changed

Other Changes

  • fix(reporters): unwrap TestFailedException for failure grouping by @thomhurst in #5776
  • Fix item-at Satisfies source typing by @thomhurst in #5764
  • ci(docs): add link-check automation and tighten Docusaurus strictness by @thomhurst in #5779
  • feat: add TUnit.Assertions.Should package by @thomhurst in #5785

Dependencies

Full Changelog: v1.40.10...v1.41.0

1.40.10

27 Apr 16:42
f9ed7e2

Choose a tag to compare

What's Changed

Other Changes

  • refactor(opentelemetry): depend on TUnit.Core instead of umbrella TUnit by @thomhurst in #5774

Dependencies

Full Changelog: v1.40.5...v1.40.10

1.40.5

27 Apr 01:04
36cd04a

Choose a tag to compare

What's Changed

Other Changes

Dependencies

Full Changelog: v1.40.0...v1.40.5