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 | 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 |