Releases: thomhurst/TUnit
Releases · thomhurst/TUnit
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
1.40.0
What's Changed
Other Changes
- perf(engine): collapse async forwarding wrappers in test execution (#5714) by @thomhurst in #5725
- perf(engine): skip Console.Out/Err FlushAsync when no output captured (#5712) by @thomhurst in #5724
- perf(engine): collapse async state machines on hook cache-hit / empty-hook path (#5713) by @thomhurst in #5726
- perf: eliminate per-test closure + GetOrAdd factory alloc (#5710) by @thomhurst in #5727
- perf(engine): replace global lock in EventReceiverRegistry with lock-free CAS by @thomhurst in #5731
- perf(engine): batch per-test overhead cleanups (#5719) by @thomhurst in #5730
- #5733 handling all arguments for Fact and Theory by @inyutin-maxim in #5734
- fix(assertions): prefer string overload of Member() over IEnumerable (#5702) by @thomhurst in #5721
- fix(migration): preserve comments/XML docs when removing sole attributes (#5698) by @thomhurst in #5739
- perf(build): trim test TFMs and skip viewer dump by default by @thomhurst in #5741
- fix(pipeline): skip TestBaseModule frameworks with missing binaries by @thomhurst in #5752
- feat(assertions): focused diff messages for IsEqualTo/IsEquivalentTo (#5732) by @thomhurst in #5747
- fix(analyzers): remove incorrect AOT rules TUnit0300/0301/0302 (#5722) by @thomhurst in #5746
- perf(engine): lazy hook metadata registration (#5448) by @thomhurst in #5750
- chore(templates): unify TUnit version pinning to 1.* (#5709) by @thomhurst in #5743
- fix(templates): floating TUnit.Aspire version (#5708) by @thomhurst in #5742
- fix(assertions): preserve specialised source in .Count(itemAssertion) (#5707) by @thomhurst in #5749
- feat(assertions): IsEqualTo with implicitly-convertible wrappers (#5720) by @thomhurst in #5751
- feat(aspire): add ability to manually remove resources by @Odonno in #5586
- fix(fscheck): register default CancellationToken arbitrary that surfaces TestContext token by @JohnVerheij in #5758
- fix(engine): allow keyed NotInParallel tests to run alongside unconstrained tests (#5700) by @thomhurst in #5740
- perf: skip TimeoutHelper wrap when no explicit [Timeout] is set (#5711) by @thomhurst in #5728
Dependencies
- chore(deps): update tunit to 1.39.0 by @thomhurst in #5701
- chore(deps): update aspire to 13.2.4 by @thomhurst in #5735
- chore(deps): bump postcss from 8.5.6 to 8.5.10 in /docs by @dependabot[bot] in #5736
- chore(deps): update dependency fscheck to 3.3.3 by @thomhurst in #5760
New Contributors
- @inyutin-maxim made their first contribution in #5734
- @Odonno made their first contribution in #5586
Full Changelog: v1.39.0...v1.40.0
1.39.0
What's Changed
Other Changes
- perf(mocks): shrink MethodSetup + cache stateless matchers by @thomhurst in #5669
- fix(mocks): handle base classes with explicit interface impls (#5673) by @thomhurst in #5674
- fix(mocks): implement indexer in generated mock (#5676) by @thomhurst in #5683
- fix(mocks): disambiguate IEquatable.Equals from object.Equals (#5675) by @thomhurst in #5680
- fix(mocks): escape C# keyword identifiers at all emit sites (#5679) by @thomhurst in #5684
- fix(mocks): emit [SetsRequiredMembers] on generated mock ctor (#5678) by @thomhurst in #5682
- fix(mocks): skip MockBridge for class targets with static-abstract interfaces (#5677) by @thomhurst in #5681
- chore(mocks): regenerate source generator snapshots by @thomhurst in #5691
- perf(engine): collapse async state-machine layers on hot test path (#5687) by @thomhurst in #5690
- perf(engine): reduce lock contention in scheduling and hook caches (#5686) by @thomhurst in #5693
- fix(assertions): prevent implicit-to-string op from NREing on null (#5692) by @thomhurst in #5696
- perf(engine/core): reduce per-test allocations (#5688) by @thomhurst in #5694
- perf(engine): reduce message-bus contention on test start (#5685) by @thomhurst in #5695
Dependencies
- chore(deps): update tunit to 1.37.36 by @thomhurst in #5667
- chore(deps): update verify to 31.16.2 by @thomhurst in #5699
Full Changelog: v1.37.36...v1.39.0
1.37.36
What's Changed
Other Changes
- fix(telemetry): remove duplicate HTTP client spans by @thomhurst in #5668
Full Changelog: v1.37.35...v1.37.36
1.37.35
What's Changed
Other Changes
- Add TUnit.TestProject.Library to the TUnit.Dev.slnx solution file by @Zodt in #5655
- fix(aspire): preserve user-supplied OTLP endpoint (#4818) by @thomhurst in #5665
- feat(aspire): emit client spans for HTTP by @thomhurst in #5666
Dependencies
- chore(deps): update dependency dotnet-sdk to v10.0.203 by @thomhurst in #5656
- chore(deps): update microsoft.aspnetcore to 10.0.7 by @thomhurst in #5657
- chore(deps): update tunit to 1.37.24 by @thomhurst in #5659
- chore(deps): update microsoft.extensions to 10.0.7 by @thomhurst in #5658
- chore(deps): update aspire to 13.2.3 by @thomhurst in #5661
- chore(deps): update dependency microsoft.net.test.sdk to 18.5.0 by @thomhurst in #5664
New Contributors
Full Changelog: v1.37.24...v1.37.35
1.37.24
What's Changed
Other Changes
- docs: add Tluma Ask AI widget to Docusaurus site by @thomhurst in #5638
- Revert "chore(deps): update dependency docusaurus-plugin-llms to ^0.4.0 (#5637)" by @thomhurst in #5640
- fix(asp-net): forward disposal in FlowSuppressingHostedService (#5651) by @JohnVerheij in #5652
Dependencies
- chore(deps): update dependency docusaurus-plugin-llms to ^0.4.0 by @thomhurst in #5637
- chore(deps): update tunit to 1.37.10 by @thomhurst in #5639
- chore(deps): update opentelemetry to 1.15.3 by @thomhurst in #5645
- chore(deps): update opentelemetry by @thomhurst in #5647
- chore(deps): update dependency dompurify to v3.4.1 by @thomhurst in #5648
- chore(deps): update dependency system.commandline to 2.0.7 by @thomhurst in #5650
- chore(deps): update dependency microsoft.entityframeworkcore to 10.0.7 by @thomhurst in #5649
- chore(deps): update dependency microsoft.templateengine.authoring.cli to v10.0.203 by @thomhurst in #5653
- chore(deps): update dependency microsoft.templateengine.authoring.templateverifier to 10.0.203 by @thomhurst in #5654
Full Changelog: v1.37.10...v1.37.24
1.37.10
What's Changed
Other Changes
- docs(test-filters): add migration callout for --filter → --treenode-filter by @johnkattenhorn in #5628
- fix: re-enable RPC tests and modernize harness (#5540) by @thomhurst in #5632
- fix(mocks): propagate [Obsolete] and null-forgiving raise dispatch (#5626) by @JohnVerheij in #5631
- ci: use setup-dotnet built-in NuGet cache by @thomhurst in #5635
- feat(playwright): propagate W3C trace context into browser contexts by @thomhurst in #5636
Dependencies
- chore(deps): update tunit to 1.37.0 by @thomhurst in #5625
New Contributors
- @johnkattenhorn made their first contribution in #5628
- @JohnVerheij made their first contribution in #5631
Full Changelog: v1.37.0...v1.37.10
1.37.0
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
- chore(deps): update tunit to 1.36.0 by @thomhurst in #5608
- chore(deps): update modularpipelines to 3.2.8 by @thomhurst in #5614
Full Changelog: v1.36.0...v1.37.0