Solhigson.Testing 10.3.0

dotnet add package Solhigson.Testing --version 10.3.0
                    
NuGet\Install-Package Solhigson.Testing -Version 10.3.0
                    
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="Solhigson.Testing" Version="10.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Solhigson.Testing" Version="10.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Solhigson.Testing" />
                    
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 Solhigson.Testing --version 10.3.0
                    
#r "nuget: Solhigson.Testing, 10.3.0"
                    
#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 Solhigson.Testing@10.3.0
                    
#: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=Solhigson.Testing&version=10.3.0
                    
Install as a Cake Addin
#tool nuget:?package=Solhigson.Testing&version=10.3.0
                    
Install as a Cake Tool

Test-only support for Solhigson projects: the census base, the census of censuses, the async test base, the build-rules census (the language version, the SDK pin and the Solhigson.Analyzers rules, read from the package root its build targets write into the test assembly, skipping a dotnet new template's .template.config source), the Roslyn C# source helper, the markup scans, the personal-data census PersonalDataCensusTests, the settings-file census SettingsFileCensusTests (every appsettings*.json leaf git lists is a startup section's or a key the app's [SettingsGroup] types declare), and the Tier=<engine> database test pool (DatabaseTestBase, IDatabaseProvisioner, PostgresProvisioner over Testcontainers) with its tier-trait census DatabaseTierCensusTests.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
10.3.0 454 11/11/2026
10.2.0 202 11/7/2026
10.1.0 100 11/4/2026
10.0.0 96 11/4/2026

10.3.0: SettingsFileCensusTests, the settings-file census (rule SETTINGS-FILE-KEY): every leaf of every appsettings*.json git lists is a startup section's leaf (ConnectionStrings, RootEncryption, Kestrel, AllowedHosts, Logging, NLog, Solhigson) holding no secret or credential, or a key a [SettingsGroup] type declares, a Startup key holding no credential or an empty File key, never a Secret; a comment carrying a credential fails too. Groups are found by metadata name across the output folder's assemblies, never constructed. A consumer inherits it once (explicit base call); the census of censuses fails until it does. 10.2.0: the Tier=<engine> database test pool: DatabaseTestBase<TProvisioner> (one process-wide pool per IDatabaseProvisioner type, the worker count plus Spares databases cloned once from a template, borrowed in a sealed SetUpAsync with a 60 s bound and returned to two dedicated reset threads, a database whose reset throws retired for a fresh clone) and PostgresProvisioner (one Testcontainers container per provisioner type per process on 127.0.0.1 with a random password, a template marked IS_TEMPLATE, a reset by one batched DELETE under session_replication_role replica); a borrowing class carries [Trait("Tier", engine)], and the tier fails without Docker or with Testcontainers' reaper off, never skipping. DatabaseTierCensusTests (rule TIER-TRAIT: every public concrete DatabaseTestBase subclass carries a Tier trait). PersonalDataCensusTests (rule PERSONALDATA-UNMARKED: an entity or DTO property or positional record parameter whose whole PascalCase words name personal data carries [PersonalData]). BuildRulesCensusTests skips a dotnet new template's .template.config source. New dependencies: Testcontainers.PostgreSql 4.12.0, Npgsql 10.0.3, SSH.NET 2026.0.0. A consumer inherits each new census once (explicit base call). 10.1.0: BuildRulesCensusTests, the build-rules census of design K (LangVersion only in a Roslyn component, a root global.json with rollForward latestPatch, the Solhigson.Analyzers switches and reference, .editorconfig lowerings dated by a solhigson-exception comment), reading the packaged rules from SolhigsonAnalyzersRoot, which this package's build and buildTransitive targets write into the test assembly; a consumer inherits it once (explicit base call) and references Solhigson.Analyzers. 10.0.0: first release. CensusTests and CensusRuleAttribute (a census reports its flagged subjects per rule id and the base applies the project's dated solhigson-exceptions.txt), CensusOfCensusesTests (every abstract census of this package inherited exactly once, every exceptions line's rule id declared), AsyncLifetimeTestBase (set-up and a once-only tear-down over xunit v2's IAsyncLifetime), CSharpSource (the consumer repository's .cs files parsed once each through Roslyn, with their invocations and declarations), MarkupScan (a tag's closing '>', a view's inline script body and a form's posted names, over Razor and HTML).