CK.Testing.SqlServer 17.0.2

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

Contains Sql Server test helpers.

Creates, drops, backs up and restores a real test database. The name defaults to CKTEST_ followed by the test project name, and the collation to Latin1_General_100_BIN2 - case and accent sensitive, so a test does not pass on comparisons the production schema would reject.

These operations are dangerous and no database name is protected: the drop is issued for whatever name it is given. The CKTEST_ prefix of the derived default is what keeps a test from reaching a real database - setting the name explicitly gives that up.

In a linked git worktree, the default database name ends with _wt_<worktree id>, so that two checkouts of one repository do not share a test database. GetScopedDatabaseName gives the same scope to a fixed name. The SqlServer/DatabaseNameSuffix setting (an environment variable) replaces this suffix.

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 (2)

Showing the top 2 NuGet packages that depend on CK.Testing.SqlServer:

Package Downloads
CK.Testing.DBSetup

Extends CK.Testing.SqlServer and CK.Testing.SetupableSetup TestHelper with a simple RunDBSetup method.

CK.Testing.SqlServerEngine

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
17.0.2 8 12/1/2026
17.0.1 1,374 10/8/2026
17.0.0 624 10/7/2026
16.0.0 645 9/25/2026
15.0.6 1,058 9/23/2026
15.0.5 1,048 9/20/2026
15.0.4 1,044 9/11/2026
15.0.3 1,078 9/4/2026
15.0.2 1,074 9/1/2026
15.0.1 2,573 5/28/2026
15.0.0 1,282 4/21/2026
14.1.1 232 1/14/2026
14.1.0 3,415 11/14/2025
14.0.1 3,256 9/27/2025
14.0.0 2,017 9/11/2025
13.0.0 1,093 7/4/2025
12.1.0 1,254 4/10/2025
12.0.1 1,199 3/19/2025
12.0.0 1,235 3/17/2025
11.1.0 1,311 2/3/2025
Loading failed