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
<PackageReference Include="CK.Testing.SqlServer" Version="17.0.2" />
<PackageVersion Include="CK.Testing.SqlServer" Version="17.0.2" />
<PackageReference Include="CK.Testing.SqlServer" />
paket add CK.Testing.SqlServer --version 17.0.2
#r "nuget: CK.Testing.SqlServer, 17.0.2"
#:package CK.Testing.SqlServer@17.0.2
#addin nuget:?package=CK.Testing.SqlServer&version=17.0.2
#tool nuget:?package=CK.Testing.SqlServer&version=17.0.2
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 | Versions 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. |
-
net10.0
- CK.Testing (>= 17.0.2)
- Microsoft.Data.SqlClient (>= 7.1.2)
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 | 590 | 12/1/2026 |
| 17.0.1 | 1,379 | 10/8/2026 |
| 17.0.0 | 625 | 10/7/2026 |
| 16.0.0 | 647 | 9/25/2026 |
| 15.0.6 | 1,061 | 9/23/2026 |
| 15.0.5 | 1,051 | 9/20/2026 |
| 15.0.4 | 1,046 | 9/11/2026 |
| 15.0.3 | 1,083 | 9/4/2026 |
| 15.0.2 | 1,077 | 9/1/2026 |
| 15.0.1 | 2,575 | 5/28/2026 |
| 15.0.0 | 1,284 | 4/21/2026 |
| 14.1.1 | 233 | 1/14/2026 |
| 14.1.0 | 3,418 | 11/14/2025 |
| 14.0.1 | 3,258 | 9/27/2025 |
| 14.0.0 | 2,019 | 9/11/2025 |
| 13.0.0 | 1,094 | 7/4/2025 |
| 12.1.0 | 1,255 | 4/10/2025 |
| 12.0.1 | 1,203 | 3/19/2025 |
| 12.0.0 | 1,239 | 3/17/2025 |
| 11.1.0 | 1,314 | 2/3/2025 |