QuickCheckr 0.0.1
See the version list below for details.
dotnet add package QuickCheckr --version 0.0.1
NuGet\Install-Package QuickCheckr -Version 0.0.1
<PackageReference Include="QuickCheckr" Version="0.0.1" />
<PackageVersion Include="QuickCheckr" Version="0.0.1" />
<PackageReference Include="QuickCheckr" />
paket add QuickCheckr --version 0.0.1
#r "nuget: QuickCheckr, 0.0.1"
#:package QuickCheckr@0.0.1
#addin nuget:?package=QuickCheckr&version=0.0.1
#tool nuget:?package=QuickCheckr&version=0.0.1
<img src='icon.png' width='40' align='top'/> QuickCheckr
CSI: .NET
Property-based testing for the pragmatic.
Example
Buggy Code:
public class BugHouse
{
private int count;
public bool Run(int number)
{
if (count == 5) throw new Exception("Here's Johnny");
if (number == 6 && count != 3) count++;
if (count >= 3) count++;
return true;
}
}
The Checkr:
from bughouse in Trackr.Stashed(() => new BugHouse())
from number in Checkr.Input("number", Fuzzr.Int())
from output in Checkr.Act("BugHouse.Run", () => bughouse.Run(number))
from spec in Checkr.Spec("Returns true", () => output)
select Case.Closed;
Reports:
------------------------------------------------------------
Test: Example
Location: CreateReadMe.cs:34:1
Original failing run: 85 executions
Minimal failing case: 5 executions (after 80 shrinks)
Seed: 1141724745
------------------------------------------------------------
Executed : BugHouse.Run (3 Times)
- Input: number = 6
------------------------------------------------------------
Executed : BugHouse.Run (2 Times)
===========================================================================
!! Exception Thrown: System.Exception: Here's Johnny
===========================================================================
Passed Specs
- Returns true: 84x
------------------------------------------------------------
Highlights
- LINQ-based workflow: Build tests using familiar query expressions.
- Shrinking: Reduce randomly generated scenarios to minimal failing cases.
- Stateful testing: Pools, stashed objects, and multi-step behaviours supported out of the box.
- Deterministic: Reproducible runs using seeds.
- Fully integrated with QuickFuzzr: Use any generator or custom shrinker.
Installation
QuickCheckr is available on NuGet:
Install-Package QuickCheckr
Or via the .NET CLI:
dotnet add package QuickCheckr
Documentation
QuickCheckr is in the process of being fully documented, with real, executable examples for every feature, and every statement in the docs is backed by a test.
- Start here: Checkr-ing Things Out
- Then see it catch a real bug: Bolting Horses
Roadmap
- Elm-style helpfull exceptions.
- Finish the full QuickCheckr documentation (guide and reference).
- Async helpers
- Additional diagnostic flows
- Cookbook
License
This project is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- QuickFuzzr (>= 0.1.7)
- QuickPulse.Show (>= 0.1.10)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on QuickCheckr:
| Package | Downloads |
|---|---|
|
QuickTestr
A small, opinionated property-based testing DSL for C#, built on QuickCheckr. Define inputs, assert invariants, and get reproducible, shrunk counterexamples. |
|
|
QuickCheckr.Authoring
Companion package for authoring QuickCheckr-based tests in dependent libraries. Intended primarily for internal test projects. |
|
|
QuickWebr
When your bugs are from Mars. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.1 | 0 | 6/17/2026 |
| 0.2.0 | 123 | 6/7/2026 |
| 0.1.2 | 161 | 5/9/2026 |
| 0.1.1 | 211 | 4/26/2026 |
| 0.1.0 | 167 | 4/10/2026 |
| 0.0.12 | 138 | 4/8/2026 |
| 0.0.11-preview1 | 100 | 4/6/2026 |
| 0.0.10 | 135 | 4/4/2026 |
| 0.0.9 | 135 | 3/19/2026 |
| 0.0.8 | 159 | 1/25/2026 |
| 0.0.7 | 152 | 12/29/2025 |
| 0.0.6 | 228 | 12/21/2025 |
| 0.0.5 | 292 | 12/14/2025 |
| 0.0.4 | 197 | 12/13/2025 |
| 0.0.3 | 734 | 12/2/2025 |
| 0.0.2 | 652 | 12/1/2025 |
| 0.0.1 | 259 | 11/27/2025 |