Releases: thomhurst/TUnit
Releases · thomhurst/TUnit
1.17.7
What's Changed
Other Changes
- feat: add Args property to AspireFixture for AppHost arguments by @thomhurst in #4982
Dependencies
- chore(deps): update tunit to 1.17.4 by @thomhurst in #4980
Full Changelog: v1.17.4...v1.17.7
1.17.4
What's Changed
Other Changes
- feat: strongly-typed event raises and event subscription API by @thomhurst in #4978
Dependencies
- chore(deps): update tunit to 1.17.0 by @thomhurst in #4975
- chore(deps): update dependency polyfill to 9.10.0 by @thomhurst in #4977
- chore(deps): update dependency polyfill to 9.10.0 by @thomhurst in #4976
Full Changelog: v1.17.0...v1.17.4
1.17.0
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
- chore(deps): update verify to 31.13.1 by @thomhurst in #4851
- chore(deps): update tunit to 1.16.4 by @thomhurst in #4853
- chore(deps): update dependency stackexchange.redis to 2.11.3 by @thomhurst in #4960
- chore(deps): update verify to 31.13.2 by @thomhurst in #4965
New Contributors
Full Changelog: v1.16.4...v1.17.0
1.16.4
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
- chore(deps): update tunit to 1.16.0 by @thomhurst in #4848
- chore(deps): update dependency stackexchange.redis to 2.11.0 by @thomhurst in #4777
Full Changelog: v1.16.0...v1.16.4
1.16.0
What's Changed
Other Changes
- feat: add Activity tracing for OpenTelemetry support by @thomhurst in #4844
Dependencies
- chore(deps): update tunit to 1.15.11 by @thomhurst in #4842
- chore(deps): update dependency nunit to 4.5.0 by @thomhurst in #4845
- chore(deps): update dependency npgsql to v10 by @thomhurst in #4780
- chore(deps): update opentelemetry to 1.15.0 by @thomhurst in #4779
- chore(deps): update microsoft.aspnetcore to 10.0.3 by @thomhurst in #4775
Full Changelog: v1.15.11...v1.16.0
1.15.11
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
- chore(deps): update tunit to 1.15.7 by @thomhurst in #4839
Full Changelog: v1.15.7...v1.15.11
1.15.7
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
- chore(deps): update tunit to 1.15.0 by @thomhurst in #4820
- chore(deps): update verify to 31.13.0 by @thomhurst in #4823
Full Changelog: v1.15.0...v1.15.7
1.15.0
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
MethodDataSourceby @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
What's Changed
Other Changes
- feat: add built-in HTTP response assertions by @thomhurst in #4793
Dependencies
- chore(deps): update tunit to 1.13.69 by @thomhurst in #4791
- chore(deps): update tunit to 1.13.70 by @thomhurst in #4792
Full Changelog: v1.13.70...v1.14.0
1.13.70
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