Skip to content

Releases: thomhurst/TUnit

1.17.7

22 Feb 21:42
1d69f20

Choose a tag to compare

What's Changed

Other Changes

  • feat: add Args property to AspireFixture for AppHost arguments by @thomhurst in #4982

Dependencies

Full Changelog: v1.17.4...v1.17.7

1.17.4

22 Feb 13:18
b29da80

Choose a tag to compare

What's Changed

Other Changes

  • feat: strongly-typed event raises and event subscription API by @thomhurst in #4978

Dependencies

Full Changelog: v1.17.0...v1.17.4

1.17.0

22 Feb 02:31
87413f7

Choose a tag to compare

TUnit.Mocks comes out in beta!

What's Changed

Other Changes

  • fix: relax TUnit0046 to only warn for mutable reference types by @thomhurst in #4852
  • ci: add gate to prevent .received.txt files from being committed (#4880) by @thomhurst in #4918
  • fix: improve TimeoutCancellationTokenAnalyzer parameter validation (#4860) by @thomhurst in #4914
  • fix: correct StringIsNotEmptyAssertion expectation message (#4871) by @thomhurst in #4908
  • fix: catch specific exceptions in VerbosityService (#4901) by @thomhurst in #4907
  • fix: TypeExtensions.GetMetadataName handles null Namespace (#4866) by @thomhurst in #4905
  • fix: InstanceValuesInTestClassAnalyzer uses return instead of continue (#4859) by @thomhurst in #4906
  • chore: centralize environment variable constants (#4882) by @thomhurst in #4909
  • docs: clarify CancellationToken in hooks does not need default value by @thomhurst in #4911
  • fix: DependsOnConflictAnalyzer reports all dependency cycles (#4862) by @thomhurst in #4913
  • fix: remove unnecessary async blocking in ProcessExit handler (#4854) by @thomhurst in #4915
  • fix: propagate CancellationToken to inner loop in AotConverterGenerator by @thomhurst in #4916
  • fix: race condition and timer leak in IdeStreamingSink (#4857) by @thomhurst in #4917
  • perf: restrict AbstractTestClassWithDataSourcesAnalyzer to source assembly by @thomhurst in #4923
  • fix: point analyzer diagnostics to specific parameters instead of methods by @thomhurst in #4924
  • docs: add XML documentation to core public APIs by @thomhurst in #4942
  • fix: add missing lastParameter variable in TimeoutCancellationTokenAnalyzer by @thomhurst in #4956
  • chore: centralize hardcoded configuration values into constants by @thomhurst in #4929
  • feat: retry policies with exponential backoff and exception filtering by @thomhurst in #4949
  • fix: update Core public API snapshots for all frameworks by @thomhurst in #4957
  • remove un-used variables by @SimonCropp in #4958
  • feat: intelligent test failure diagnosis and categorization by @thomhurst in #4953
  • feat: HTML test report generation by @thomhurst in #4946
  • fix: add assertion analyzers for common mistakes (prefer IsNull, IsTrue/IsFalse) by @thomhurst in #4944
  • fix: use Skip.When for AOT tests outside CI by @thomhurst in #4922
  • fix: remove empty Dispose and fix nullability annotation by @thomhurst in #4920
  • fix: add missing AOT trimming suppressions and null safety for type names by @thomhurst in #4919
  • fix: remove global Retry(3) from InvokableTestBase by @thomhurst in #4925
  • chore: fix TUnit.Assertions.FSharp pre-release package version by @thomhurst in #4926
  • fix: improve source generator diagnostic locations by @thomhurst in #4921
  • fix: validate output paths in reporters to prevent path traversal by @thomhurst in #4927
  • fix: Playwright BrowserTest resource leaks and thread safety by @thomhurst in #4930
  • fix: add timing tolerances to flaky timing-based test assertions by @thomhurst in #4932
  • fix: standardize assertion error message formatting by @thomhurst in #4933
  • fix: document and test PublicMethodMissingTestAttributeAnalyzer property/event handling by @thomhurst in #4912
  • feat: timeout diagnostics with stack traces and deadlock detection by @thomhurst in #4947
  • chore: consolidate 9 Roslyn-versioned project duplicates by @thomhurst in #4943
  • fix: update Net4_7 Core API snapshot for merged PRs by @thomhurst in #4959
  • feat: uniform IEqualityComparer support across assertion types by @thomhurst in #4938
  • feat: add collection count range assertions by @thomhurst in #4937
  • feat: add exception property assertions by @thomhurst in #4936
  • fix: shared mutable state in test infrastructure causes race conditions by @thomhurst in #4928
  • feat: plugin architecture for third-party integration by @thomhurst in #4941
  • docs: remove stale AssertionGroup documentation by @t0k0shi in #4967
  • Preserve newline for EOF preprocessor directives by @SimonCropp in #4961
  • refactor: PropertyInjector complexity and allocation improvements by @thomhurst in #4931
  • feat: remove intermediary List<IProperty> by @TimothyMakkison in #4962
  • feat: add TUnit.Mock source-generated mocking library by @thomhurst in #4969

Dependencies

New Contributors

Full Changelog: v1.16.4...v1.17.0

1.16.4

18 Feb 22:55
4e7805e

Choose a tag to compare

What's Changed

Other Changes

  • feat: support AssertionResult in GenerateAssertion for terminal assertions by @thomhurst in #4843
  • Cleanup global usings in Analyzers by @SimonCropp in #4849

Dependencies

Full Changelog: v1.16.0...v1.16.4

1.16.0

18 Feb 19:20
16ce2e0

Choose a tag to compare

What's Changed

Other Changes

  • feat: add Activity tracing for OpenTelemetry support by @thomhurst in #4844

Dependencies

Full Changelog: v1.15.11...v1.16.0

1.15.11

18 Feb 00:44
20e40d9

Choose a tag to compare

What's Changed

Other Changes

  • feat: add HasSingleItem(predicate) overload by @thomhurst in #4832
  • Add EF Core Code First sample with per-test schema isolation by @thomhurst in #4840
  • fix: xUnit code fixer bugs for Assert.Single, Assert.Collection, and Assert.All by @thomhurst in #4821

Dependencies

Full Changelog: v1.15.7...v1.15.11

1.15.7

17 Feb 21:34
b0ec373

Choose a tag to compare

What's Changed

Other Changes

  • Add ArrayAssertion so GenerateAssertion works with concrete array types by @Copilot in #4827
  • Fix GenerateAssertion dropping parameter default values from generated extension methods by @Copilot in #4828
  • Fix MatrixDataSource failing with ClassConstructor by @thomhurst in #4838

Dependencies

Full Changelog: v1.15.0...v1.15.7

1.15.0

15 Feb 21:03
ae3a8a6

Choose a tag to compare

What's Changed

Other Changes

  • feat: make [Timeout] CancellationToken parameter optional (warning instead of error) by @thomhurst in #4796
  • Clarify migration analyzer diagnostics are info-level, not visible in build output by @Copilot in #4800
  • feat: add IKeyedDataSource interface for keyed shared fixtures by @thomhurst in #4799
  • feat: add TestContext.Isolation interface for test resource isolation by @thomhurst in #4801
  • fix: #4804 preserve tolerance parameters from xunit Assert.Equal by @ascott18 in #4815
  • fix: #4812 incorrect TUnit0001 on custom generic IDataSourceAttribute by @ascott18 in #4814
  • feat: add TUnit.Logging.Microsoft package and shared web app logging by @thomhurst in #4817
  • fix: #4807 xUnit Assert.Contains predicate parameter transposition by @ascott18 in #4813
  • fix: #4810 incorrect analyzer warnings for MethodDataSource by @ascott18 in #4816
  • feat: add TUnit.Aspire package by @thomhurst in #4819

Dependencies

  • chore(deps): update dependency microsoft.testing.platform.msbuild to 1.9.1 by @thomhurst in #4794
  • chore(deps): update dependency microsoft.testing.platform.msbuild to v2 by @thomhurst in #4795
  • chore(deps): update tunit to 1.14.0 by @thomhurst in #4797
  • chore(deps): update dependency polyfill to 9.9.0 by @thomhurst in #4803
  • chore(deps): update dependency polyfill to 9.9.0 by @thomhurst in #4802
  • chore(deps): update dependency coverlet.collector to v8 by @thomhurst in #4809

New Contributors

Full Changelog: v1.14.0...v1.15.0

1.14.0

14 Feb 17:42
f590460

Choose a tag to compare

What's Changed

Other Changes

Dependencies

Full Changelog: v1.13.70...v1.14.0

1.13.70

14 Feb 15:48
55d6ee6

Choose a tag to compare

What's Changed

Other Changes

  • refactor: simplify tuple handling with #if for newer TFMs by @thomhurst in #4790

Full Changelog: v1.13.69...v1.13.70