Releases: thomhurst/TUnit
Releases · thomhurst/TUnit
1.44.39
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
defaultliteral 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
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
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
- chore(deps): update tunit to 1.43.38 by @thomhurst in #5858
Full Changelog: v1.43.38...v1.43.41
1.43.38
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
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
- chore(deps): update tunit to 1.43.11 by @thomhurst in #5821
- chore(deps): update dependency polyfill to 10.4.0 by @thomhurst in #5830
- chore(deps): update dependency polyfill to 10.4.0 by @thomhurst in #5829
- chore(deps): update react to ^19.2.6 by @thomhurst in #5839
- chore(deps): update dependency polyfill to 10.5.0 by @thomhurst in #5848
- chore(deps): update dependency polyfill to 10.5.0 by @thomhurst in #5849
- chore(deps): update aspire to 13.3.0 by @thomhurst in #5851
- chore(deps): update dependency brace-expansion to v5.0.6 by @thomhurst in #5853
- chore(deps): update dependency polyfill to 10.5.1 by @thomhurst in #5854
- chore(deps): update dependency polyfill to 10.5.1 by @thomhurst in #5855
- chore(deps): update verify to 31.16.3 by @thomhurst in #5856
Full Changelog: v1.43.11...v1.43.37
1.43.11
What's Changed
Other Changes
- perf(engine): skip execution ledger for independent tests by @thomhurst in #5813
- perf(engine): skip tracked object graph rediscovery by @thomhurst in #5814
- fix: suppress XML doc warnings in generated sources by @mvanhorn in #5797
- Fix xUnit Throws migration docs by @thomhurst in #5819
- Fix Should optional overload generation by @thomhurst in #5820
Dependencies
- chore(deps): update dependency mockolate to 3.1.0 by @thomhurst in #5811
- chore(deps): update tunit to 1.43.2 by @thomhurst in #5809
- chore(deps): update dependency nunit.analyzers to 4.13.0 by @thomhurst in #5815
- chore(deps): update dependency yaml to v2.8.4 by @thomhurst in #5812
New Contributors
Full Changelog: v1.43.2...v1.43.11
1.43.2
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
- chore(deps): update tunit to 1.41.0 by @thomhurst in #5789
- chore(deps): update microsoft.testing to 2.2.2 by @thomhurst in #5793
- chore(deps): update mstest to 4.2.2 by @thomhurst in #5794
- chore(deps): update docusaurus by @thomhurst in #5798
- chore(deps): update dependency dompurify to v3.4.2 by @thomhurst in #5799
- chore(deps): update dependency mockolate to v3 by @thomhurst in #5801
Full Changelog: v1.41.0...v1.43.2
1.41.0
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
- chore(deps): update tunit to 1.40.10 by @thomhurst in #5775
- chore(deps): update actions/cache action to v5 by @thomhurst in #5780
- chore(deps): update dependency microsoft.net.test.sdk to 18.5.1 by @thomhurst in #5784
Full Changelog: v1.40.10...v1.41.0
1.40.10
What's Changed
Other Changes
- refactor(opentelemetry): depend on TUnit.Core instead of umbrella TUnit by @thomhurst in #5774
Dependencies
- chore(deps): update tunit to 1.40.5 by @thomhurst in #5769
Full Changelog: v1.40.5...v1.40.10
1.40.5
What's Changed
Other Changes
- Fix reflection property injection reuse by @thomhurst in #5763
- fix(assertions): gate IsEqualTo<TValue, TOther> overload to net9+ (#5765) by @thomhurst in #5767
Dependencies
- chore(deps): update tunit to 1.40.0 by @thomhurst in #5762
Full Changelog: v1.40.0...v1.40.5