FunFair.Test.Source.Generator 6.4.7.2954-xunit1072-base

This is a prerelease version of FunFair.Test.Source.Generator.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package FunFair.Test.Source.Generator --version 6.4.7.2954-xunit1072-base
                    
NuGet\Install-Package FunFair.Test.Source.Generator -Version 6.4.7.2954-xunit1072-base
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FunFair.Test.Source.Generator" Version="6.4.7.2954-xunit1072-base">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FunFair.Test.Source.Generator" Version="6.4.7.2954-xunit1072-base" />
                    
Directory.Packages.props
<PackageReference Include="FunFair.Test.Source.Generator">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FunFair.Test.Source.Generator --version 6.4.7.2954-xunit1072-base
                    
#r "nuget: FunFair.Test.Source.Generator, 6.4.7.2954-xunit1072-base"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FunFair.Test.Source.Generator@6.4.7.2954-xunit1072-base
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FunFair.Test.Source.Generator&version=6.4.7.2954-xunit1072-base&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=FunFair.Test.Source.Generator&version=6.4.7.2954-xunit1072-base&prerelease
                    
Install as a Cake Tool

funfair-server-test

Test Components and base classes

Build Status

Branch Status
main Build: Pre-Release
release Build: Release

Changelog

View changelog

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.4.7.2958-pull-547-merge 0 10/26/2026
6.4.7.2957-xunit1072-base 0 10/26/2026
6.4.7.2956-xunit1072-base 0 10/26/2026
6.4.7.2955-xunit1072-base 0 10/26/2026
6.4.7.2954-xunit1072-base 0 10/26/2026
6.4.7.2953-xunit1072-base 0 10/26/2026
6.4.7.2952-xunit1072-base 0 10/26/2026
6.4.7.2951-xunit1072-base 0 10/26/2026
6.4.7.2950-xunit1072-base 0 10/26/2026
6.4.7.2949-xunit1072-base 0 10/26/2026
6.4.7.2948-xunit1072-base 0 10/26/2026
6.4.7.2947-xunit1072-base 0 10/26/2026
6.4.7.2946-xunit1072-base 0 10/26/2026
6.4.7.2945-xunit1072-base 0 10/26/2026
6.4.7.2944-xunit1072-base 0 10/26/2026
6.4.7.2943-xunit1072-base 0 10/26/2026
6.4.7.2942-xunit1072-base 0 10/26/2026
6.4.7.2941-xunit1072-base 0 10/26/2026
6.4.7.2940-xunit1072-base 0 10/26/2026
6.4.6.2749 3,836 9/10/2026
Loading failed

### Added
- FTS003 analyzer rule requires a base class's BuildDispatcherCases to list its own [DispatchedTest] methods and those of any builder-less intermediate base
- FTS004 analyzer rule requires a base class's BuildDispatcherCases to compose its nearest builder-owning ancestor's builder; FTS003 and FTS004 run in any compilation that declares builders and references FunFair.Test.Source.Generator
- FunFairTestDisableSourceGenerators MSBuild property opts out of the FunFair.Test.Source.Generator generators, made visible to the compiler by the generator package's build props
- Shared case-name parser, so DispatcherCaseData.Case now throws ArgumentException for an action that makes no call
- [DispatchedTest] attribute to mark shared base-class test methods that run through each leaf test class's [Theory] dispatcher instead of xunit discovery
### Fixed
- Use forward-slash path separators in MSBuild files for cross-platform compatibility
- Rename async test methods to end in Async in AotTestDispatcherAnalyzerTests
- Use MockDateTimeSources.Past instead of DateTimeOffset.UtcNow in logging tests
- Correct wrong logger category in LoggingFolderCleanupTestBaseTests.LoggingOutputs
- Correct misleading test names, reversed/incorrect assertion messages in shared test base classes (renames may affect consumer test filters/quarantines)
- Avoid unnecessary StringBuilder allocation in XUnitLoggerBase.Log on the common no-option, no-exception path, and pre-size the StringBuilder from the formatted message length on the remaining path
- Shared base classes in FunFair.Test.Common now mark tests [DispatchedTest] instead of [Fact], so xunit.analyzers 2.2.0 xUnit1072 no longer fires on consuming Native AOT test classes and per-class suppressions are not needed
### Changed
- Dependencies - Updated Microsoft.Sbom.Targets to 4.1.13
- Dependencies - Updated SonarAnalyzer.CSharp to 10.35.0.4138
- SDK - Updated DotNet SDK to 10.0.402
- Dependencies - Updated FunFair.CodeAnalysis to 7.2.20.2501
- Dependencies - Updated Microsoft.VisualStudio.Threading.Analyzers to 18.12.1
- Dependencies - Updated Roslynator.Analyzers to 5.0.1
- Dependencies - Updated xunit.runner.visualstudio to 4.0.1
- Dependencies - Updated FluentValidation to 12.2.0
- Dependencies - Updated Microsoft.Extensions to 10.11.0
- Dependencies - Updated xunit.analyzers to 2.2.0
- Dependencies - Updated Meziantou.Analyzer to 3.0.316
- Dependencies - Updated Nullable.Extended.Analyzer to 1.17.0
- Dependencies - Updated xunit.v3 to 4.0.2
- FTS001 and FTS002 now detect affected bases by [DispatchedTest] rather than a hardcoded list, and walk through consumer-owned intermediate bases (BREAKING - such a leaf without a dispatcher now gets FTS001)
- FTS002 now checks Case(...)-form, property/field and generated-code providers, and which ancestor builder a delegating provider composes; the rules abstain on shapes they cannot follow
- BREAKING - inherited base-class tests are no longer discovered by reflection based (non-AOT) xunit discovery and run only through a dispatcher; FTS001 and FTS002 enforce that dispatcher only where FunFair.Test.Source.Generator is referenced