Skip to content

Releases: thomhurst/TUnit

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

1.30.0

09 Apr 07:50
96c1214

Choose a tag to compare

What's Changed

Other Changes

  • perf: eliminate locks from mock invocation and verification hot paths by @thomhurst in #5422
  • feat: TUnit0074 analyzer for redundant hook attributes on overrides by @thomhurst in #5459
  • fix(mocks): respect generic type argument accessibility (#5453) by @thomhurst in #5460
  • fix(mocks): skip inaccessible internal accessors when mocking Azure.Response by @thomhurst in #5461
  • fix: apply CultureAttribute and STAThreadExecutorAttribute to hooks (#5452) by @thomhurst in #5463

Dependencies

Full Changelog: v1.29.0...v1.30.0

1.29.0

07 Apr 19:13
ad8ac1d

Choose a tag to compare

What's Changed

Other Changes

  • 🤖 Update Mock Benchmark Results by @thomhurst in #5420
  • fix(mocks): resolve build errors when mocking Azure SDK clients by @thomhurst in #5440
  • fix: deduplicate virtual hook overrides across class hierarchy (#5428) by @thomhurst in #5441
  • fix(mocks): unique __argArray locals per event in RaiseEvent dispatch (#5423) by @thomhurst in #5442
  • refactor(mocks): extract MockTypeModel.Visibility helper by @thomhurst in #5443
  • fix(mocks): preserve nullable annotations on generated event implementations by @thomhurst in #5444
  • fix(mocks): preserve nullability on event handler types (#5425) by @thomhurst in #5445

Dependencies

  • chore(deps): update tunit to 1.28.7 by @thomhurst in #5416
  • chore(deps): update dependency polyfill to v10 by @thomhurst in #5417
  • chore(deps): update dependency polyfill to v10 by @thomhurst in #5418
  • chore(deps): update dependency mockolate to 2.4.0 by @thomhurst in #5431
  • chore(deps): update mstest to 4.2.1 by @thomhurst in #5433
  • chore(deps): update dependency microsoft.net.test.sdk to 18.4.0 by @thomhurst in #5435
  • chore(deps): update microsoft.testing to 2.2.1 by @thomhurst in #5432
  • chore(deps): update dependency microsoft.testing.extensions.codecoverage to 18.6.2 by @thomhurst in #5437
  • chore(deps): update dependency @docusaurus/theme-mermaid to ^3.10.0 by @thomhurst in #5438
  • chore(deps): update docusaurus to v3.10.0 by @thomhurst in #5439

Full Changelog: v1.28.7...v1.29.0

1.28.7

05 Apr 19:07
adaedbc

Choose a tag to compare

What's Changed

Other Changes

  • fix: prevent StringBuilder race in console interceptor during parallel tests by @thomhurst in #5414

Dependencies

Full Changelog: v1.28.5...v1.28.7

1.28.5

05 Apr 17:14
34dfcef

Choose a tag to compare

What's Changed

Other Changes

  • perf: eliminate redundant builds in CI pipeline by @thomhurst in #5405
  • perf: eliminate store.ToArray() allocation on mock behavior execution hot path by @thomhurst in #5409
  • fix: omit non-class/struct constraints on explicit interface mock implementations by @thomhurst in #5413

Dependencies

Full Changelog: v1.28.0...v1.28.5

1.28.0

05 Apr 11:22
0792e36

Choose a tag to compare

What's Changed

Other Changes

  • fix: resolve build warnings in solution by @thomhurst in #5386
  • Perf: Optimize MockEngine hot paths (~30-42% faster) by @thomhurst in #5391
  • Move Playwright install into pipeline module by @thomhurst in #5390
  • perf: optimize solution build performance by @thomhurst in #5393
  • perf: defer per-class JIT via lazy test registration + parallel resolution by @thomhurst in #5395
  • Perf: Generate typed HandleCall<T1,...> overloads to eliminate argument boxing by @thomhurst in #5399
  • perf: filter generated attributes to TUnit-related types only by @thomhurst in #5402
  • fix: generate valid mock class names for generic interfaces with non-built-in type args by @thomhurst in #5404

Dependencies

Full Changelog: v1.27.0...v1.28.0

1.27.0

04 Apr 22:47
46555b5

Choose a tag to compare

What's Changed

Other Changes

  • Fix Dependabot security vulnerabilities in docs site by @thomhurst in #5372
  • fix: use 0.0.0-scrubbed sentinel version in snapshot scrubber to avoid false Dependabot alerts by @thomhurst in #5374
  • Speed up Engine.Tests by removing ProcessorCount parallelism cap by @thomhurst in #5379
  • ci: add concurrency groups to cancel redundant workflow runs by @thomhurst in #5373
  • Add scope-aware initialization and disposal OpenTelemetry spans to trace timeline and HTML report by @Copilot in #5339
  • Add WithInnerExceptions() for fluent AggregateException assertion chaining by @thomhurst in #5380
  • Drop net6.0 and net7.0 TFMs, keep net8.0+ and netstandard2.x by @thomhurst in #5387
  • Remove all [Obsolete] members and migrate callers by @thomhurst in #5384
  • Add AssertionResult.Failed overload that accepts an Exception by @thomhurst in #5388

Dependencies

Full Changelog: v1.25.0...v1.27.0

1.25.0

04 Apr 15:15
2f57198

Choose a tag to compare

What's Changed

Other Changes

  • Fix missing default constraint on explicit interface implementations with unconstrained generics by @thomhurst in #5363
  • feat(mocks): add ReturnsAsync typed factory overload with method parameters by @thomhurst in #5367
  • Fix Arg.IsNull and Arg.IsNotNull to support nullable value types by @thomhurst in #5366
  • refactor(mocks): use file-scoped types for generated implementation details by @thomhurst in #5369
  • Compress HTML report JSON data and minify CSS by @thomhurst in #5368

Dependencies

Full Changelog: v1.24.31...v1.25.0