Skip to content

Releases: thomhurst/TUnit

1.37.0

18 Apr 13:13
b401097

Choose a tag to compare

What's Changed

Other Changes

  • fix: stabilize flaky tests across analyzer, OTel, and engine suites by @thomhurst in #5609
  • perf: engine hot-path allocation wins (#5528 B) by @thomhurst in #5610
  • feat(analyzers): detect collection IsEqualTo reference equality (TUnitAssertions0016) by @thomhurst in #5615
  • perf: consolidate test dedup + hook register guards (#5528 A) by @thomhurst in #5612
  • perf: engine discovery/init path cleanup (#5528 C) by @thomhurst in #5611
  • fix(assertions): render collection contents in IsEqualTo failure messages (#5613 B) by @thomhurst in #5619
  • feat(analyzers): code-fix for TUnit0015 to insert CancellationToken (#5613 D) by @thomhurst in #5621
  • fix(assertions): add Task reference forwarders on AsyncDelegateAssertion by @thomhurst in #5618
  • test(asp-net): fix race in FactoryMethodOrderTests by @thomhurst in #5623
  • feat(analyzers): code-fix for TUnit0049 to insert [MatrixDataSource] (#5613 C) by @thomhurst in #5620
  • fix(pipeline): isolate AOT publish outputs to stop clobbering pack DLLs (#5622) by @thomhurst in #5624

Dependencies

Full Changelog: v1.36.0...v1.37.0

1.36.0

17 Apr 21:08
9e6ca6f

Choose a tag to compare

What's Changed

Other Changes

  • fix: don't render test's own trace as Linked Trace in HTML report by @thomhurst in #5580
  • fix(docs): benchmark index links 404 by @thomhurst in #5587
  • docs: replace repeated benchmark link suffix with per-test descriptions by @thomhurst in #5588
  • docs: clearer distributed tracing setup and troubleshooting by @thomhurst in #5597
  • fix: auto-suppress ExecutionContext flow for hosted services (#5589) by @thomhurst in #5598
  • feat: auto-align DistributedContextPropagator to W3C by @thomhurst in #5599
  • feat: TUnit0064 analyzer + code fix for direct WebApplicationFactory inheritance by @thomhurst in #5601
  • feat: auto-propagate test trace context through IHttpClientFactory by @thomhurst in #5603
  • feat: TUnit.OpenTelemetry zero-config tracing package by @thomhurst in #5602
  • fix: restore [Obsolete] members removed in v1.27 (#5539) by @thomhurst in #5605
  • feat: generalize OTLP receiver for use outside TUnit.Aspire by @thomhurst in #5606
  • feat: auto-configure OpenTelemetry in TestWebApplicationFactory SUT by @thomhurst in #5607

Dependencies

Full Changelog: v1.35.2...v1.36.0

1.35.2

16 Apr 20:52
be45677

Choose a tag to compare

What's Changed

Other Changes

  • fix: restore SourceLink and deterministic builds in published packages by @thomhurst in #5579

Dependencies

Full Changelog: v1.35.0...v1.35.2

1.35.0

16 Apr 19:10
886a51c

Choose a tag to compare

What's Changed

Other Changes

Dependencies

Full Changelog: v1.34.5...v1.35.0

1.34.5

15 Apr 19:37

Choose a tag to compare

What's Changed

Other Changes

  • fix: cap test output at 1M chars to prevent OOM by @thomhurst in #5561
  • fix: handle explicit interface impl with different return types in mock generator by @thomhurst in #5564
  • fix: include XML documentation files in NuGet packages by @thomhurst in #5565

Dependencies

Full Changelog: v1.34.0...v1.34.5

1.34.0

15 Apr 16:47
954bf86

Choose a tag to compare

What's Changed

Other Changes

  • refactor: move CorrelatedTUnitLogger to TUnit.Logging.Microsoft and auto-inject handlers by @thomhurst in #5532
  • feat: add Dev Drive setup for Windows in CI workflow by @thomhurst in #5544
  • fix: start session activity before discovery so discovery spans parent correctly by @thomhurst in #5534
  • feat: cross-process test log correlation via OTLP receiver by @thomhurst in #5533
  • refactor: use natural OTEL trace propagation instead of synthetic TraceIds by @thomhurst in #5557
  • fix: route ITestOutput writes through synchronized ConcurrentStringWriter by @thomhurst in #5558

Dependencies

  • chore(deps): update tunit to 1.33.0 by @thomhurst in #5527
  • chore(deps): update dependency dompurify to v3.4.0 by @thomhurst in #5537
  • chore(deps): update dependency docusaurus-plugin-llms to ^0.3.1 by @thomhurst in #5541
  • chore(deps): update dependency microsoft.sourcelink.github to 10.0.202 by @thomhurst in #5543
  • chore(deps): update dependency microsoft.entityframeworkcore to 10.0.6 by @thomhurst in #5542
  • chore(deps): update dependency microsoft.templateengine.authoring.templateverifier to 10.0.202 by @thomhurst in #5546
  • chore(deps): update dependency microsoft.templateengine.authoring.cli to v10.0.202 by @thomhurst in #5545
  • chore(deps): update dependency system.commandline to 2.0.6 by @thomhurst in #5547
  • chore(deps): update microsoft.aspnetcore to 10.0.6 by @thomhurst in #5548
  • chore(deps): update dependency nuget.protocol to 7.3.1 by @thomhurst in #5549
  • chore(deps): update microsoft.extensions to 10.0.6 by @thomhurst in #5550
  • chore(deps): update dependency dotnet-sdk to v10.0.202 by @thomhurst in #5551
  • chore(deps): update opentelemetry by @thomhurst in #5552
  • chore(deps): update microsoft.extensions to 10.5.0 by @thomhurst in #5554

Full Changelog: v1.33.0...v1.34.0

1.33.0

12 Apr 22:36
410fd39

Choose a tag to compare

What's Changed

Other Changes

  • perf: engine-wide performance optimizations by @thomhurst in #5520
  • feat: Add TUnitSettings static API for programmatic configuration by @thomhurst in #5522
  • perf: reduce allocations and improve hot-path performance by @thomhurst in #5524
  • fix: enforce ParallelLimiter semaphore in TestRunner to prevent DependsOn bypass by @thomhurst in #5526

Dependencies

Full Changelog: v1.32.0...v1.33.0

1.32.0

11 Apr 13:06
81dffe1

Choose a tag to compare

What's Changed

Other Changes

Dependencies

Full Changelog: v1.31.0...v1.32.0

1.31.0

11 Apr 03:24
9505175

Choose a tag to compare

What's Changed

Other Changes

  • feat(reporters): overhaul GitHub Actions step summary by @thomhurst in #5483
  • fix: truncate large stdout/stderr in HTML report to prevent JSON serialization failure by @thomhurst in #5485
  • feat(html-report): add failure clustering to test report by @thomhurst in #5490
  • feat(html-report): add chevron affordance to failure cluster headers by @thomhurst in #5492
  • feat(reporters): group GitHub summary failures by exception type by @thomhurst in #5491
  • feat(reporters): add minimap sidebar navigator to HTML report by @thomhurst in #5494
  • feat(html-report): add category/tag filter pills to toolbar by @thomhurst in #5496
  • feat(html-report): omit redundant test body span from trace timeline by @thomhurst in #5497
  • fix(tests): clear reporter env vars before each GitHubReporterTest to fix flaky CI on macOS/Windows by @thomhurst in #5499
  • feat: add TestContext.MakeCurrent() for console output correlation by @thomhurst in #5502
  • feat(html-report): add flaky test detection and summary section by @thomhurst in #5498
  • fix: smarter stack trace filtering that preserves TUnit-internal traces by @thomhurst in #5506
  • feat: add Activity baggage-based test context correlation by @thomhurst in #5505

Dependencies

Full Changelog: v1.30.8...v1.31.0

1.30.8

09 Apr 22:54
0de585a

Choose a tag to compare

What's Changed

Other Changes

  • feat(mocks): migrate to T.Mock() extension syntax by @thomhurst in #5472
  • feat: split TUnit.AspNetCore into Core + meta package by @thomhurst in #5474
  • feat: add async Member() overloads for Task-returning member selectors by @thomhurst in #5475

Dependencies

Full Changelog: v1.30.0...v1.30.8