Skip to content

Release 6.4.2.2678

Choose a tag to compare

@credfeto credfeto released this 27 Aug 13:27
8f8fa4b

Added

  • Added unit test coverage for FunFair.Test.Source.Generator (TestAssemblyCodeGenerator and ProtectedMemberSuppressionGenerator), which previously had none. Internal test-only change - no public API or behaviour change for consumers.
  • Added FunFair.Test.Common.Mocks, a new class library holding the non-test support code (mocks, fakes, converters, test-data helpers) previously embedded inside FunFair.Test.Common.Tests. Internal restructuring only - no public API or behaviour change for consumers of the published packages.
  • AOT test dispatcher analyzer (FTS001/FTS002) enforcing discoverable inherited [Fact]/[Theory] methods on FunFair.Test.Common leaf test classes under xUnit v3 AOT test discovery

Changed

  • Dependencies - Updated CSharpIsNullAnalyzer to 0.2.19
  • Dependencies - Updated Roslynator.Analyzers to 5.0.0
  • Dependencies - Updated SonarAnalyzer.CSharp to 10.33.0.1635
  • BREAKING: Renamed JsonConverterTestBase<TConverter, TObject> to JsonConverterObjectTestBase<TConverter, TObject> and JsonConverterStructTestBase<TConverter, TObject> to JsonConverterValueTestBase<TConverter, TObject>, matching the Object/Value naming convention already used by ComparableObjectTestBase/ComparableValueTestBase and EquatableObjectTestBase/EquatableValueTestBase. Consumers deriving from either base class need to update to the new type name on next upgrade.
  • Dependencies - Updated Meziantou.Analyzer to 3.0.189
  • Adopted the org-owned Credfeto.SourceGeneration.Helpers package in FunFair.Test.Source.Generator, replacing the duplicated local CodeBuilder helper. Internal consolidation - no change to generated output; the shipped generator package now also carries Credfeto.SourceGeneration.Helpers.dll alongside the generator DLL.

Removed

  • Removed the dead GenerateEntryPoint code path from FunFair.Test.Source.Generator (existed only to work around xunit/xunit#3435, now fixed), and the now-unreachable CodeBuilder helpers/attribute-extraction machinery left behind once it was gone. Internal cleanup only - no public API or behaviour change for consumers.