Kronikol.Templates 3.4.1

dotnet new install Kronikol.Templates@3.4.1
                    
This package contains a .NET Template Package you can call from the shell/command line.

Kronikol Project Templates

Project templates for creating test projects pre-configured with Kronikol dependency tracking and automatic report generation.

Installation

dotnet new install Kronikol.Templates

Available Templates

Template Short Name Description
TTD Component Tests (xUnit v3) kronikol-xunit3 xUnit v3 test project with TTD
TTD Component Tests (xUnit v2) kronikol-xunit2 xUnit v2 test project with TTD
TTD Component Tests (TUnit) kronikol-tunit TUnit test project with TTD
TTD Component Tests (NUnit 4) kronikol-nunit4 NUnit 4 test project with TTD
TTD Component Tests (MSTest) kronikol-mstest MSTest test project with TTD
TTD Component Tests (LightBDD + xUnit v3) kronikol-lightbdd-xunit3 LightBDD with xUnit v3 and TTD
TTD Component Tests (LightBDD + xUnit v2) kronikol-lightbdd-xunit2 LightBDD with xUnit v2 and TTD
TTD Component Tests (LightBDD + TUnit) kronikol-lightbdd-tunit LightBDD with TUnit and TTD
TTD Component Tests (BDDfy + xUnit v3) kronikol-bddfy-xunit3 BDDfy with xUnit v3 and TTD
TTD Component Tests (ReqNRoll + xUnit v3) kronikol-reqnroll-xunit3 ReqNRoll (Gherkin) with xUnit v3 and TTD
TTD Component Tests (ReqNRoll + xUnit v2) kronikol-reqnroll-xunit2 ReqNRoll (Gherkin) with xUnit v2 and TTD
TTD Component Tests (ReqNRoll + TUnit) kronikol-reqnroll-tunit ReqNRoll (Gherkin) with TUnit and TTD

Usage

dotnet new kronikol-xunit3 --name MyService.Tests.Component \
  --service-name "Order Service" \
  --downstream-service "Payment Gateway" \
  --downstream-port 15060 \
  --framework net10.0

Parameters

Parameter Default Description
--name Current directory Project name and root namespace
--service-name MyApi Name of your service (appears in diagrams)
--downstream-service DownstreamService Name of a downstream dependency
--downstream-port 15050 Port for downstream service HTTP fake
--framework net10.0 Target framework (net8.0/net9.0/net10.0)

What's Included

Alongside the test project itself, every template scaffolds the files that teach an AI agent how to debug the runs it produces:

Path Purpose
.claude/skills/kronikol-test-debugging/ The skill: the command ladder, the recipes, the full flag reference, and a Python fallback for machines without the CLI
CLAUDE.md, AGENTS.md Byte-identical instruction files pointing at the reports directory and the skill — two names because Claude Code reads one and Codex, Cursor and Copilot read the other

They need no setup. An agent that opens the project reads them and knows to run kronikol query rather than open a report that does not fit in its context. To add the same thing to a repository that predates the templates, install Kronikol.Tool and run kronikol init-agents ..

After Scaffolding

  1. Add a <ProjectReference> to your API project in the generated .csproj
  2. Remove the placeholder Program.cs file
  3. Update BaseFixture.cs to configure services specific to your API
  4. Run tests: dotnet test
  5. Find reports in: bin/Debug/{framework}/Reports/

Assertion Tracking (Beta — Opt-in)

Assertion tracking is available as a beta feature via the Kronikol.AssertionTracking package. It uses IL weaving to instrument .Should() calls at compile time, producing green/red assertion notes in your HTML reports. Because IL weaving can interfere with some build configurations, it is not included by default in the templates.

To opt in, add the package and assembly attribute manually:

dotnet add package Kronikol.AssertionTracking --prerelease

Then create an AssertionTracking.cs file in your test project:

using Kronikol.Tracking;

[assembly: TrackAssertions]

This package has no dependencies.

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
3.4.1 0 9/13/2026
3.3.0 0 9/13/2026
3.2.0 0 9/13/2026
3.1.0 6 9/12/2026
3.0.86 46 9/11/2026
3.0.85 44 9/11/2026
3.0.84 38 9/11/2026
3.0.83 84 9/4/2026
3.0.82 90 9/4/2026
3.0.81 95 9/4/2026
3.0.80 87 9/4/2026
3.0.79 81 9/4/2026
3.0.78 85 9/4/2026
3.0.77 94 9/4/2026
3.0.76 86 9/4/2026
3.0.75 85 9/3/2026
3.0.74 90 9/3/2026
3.0.73 86 9/2/2026
3.0.72 90 8/31/2026
Loading failed