Repository navigation
Migrating to v5
Kronikol 5.0.0 writes the run's data file as TestRunReport.krkl, redraws the HTML report with tabs, a light and a
dark theme and new filters, replaces labels and categories with tags, and runs on .NET 10 alone. This page lists
each change and the setting that keeps the 4.x behaviour where there is one; the report and the tags each have a page
of their own with the detail. Upgrading from 3.x? Read Migrating to v4 first.
| 4.x | 5.0.0 | To keep the 4.x behaviour | |
|---|---|---|---|
| The run's data file | TestRunReport.json |
TestRunReport.krkl: the same report, compressed whole |
CompressTestRunReport = false, or kronikol ingest --data-file json
|
| The data file's schema | Written beside every report | Written only when asked |
GenerateTestRunReportSchema = true, or --schema on kronikol merge and kronikol ingest
|
| Target frameworks | net8.0, net9.0 and net10.0 | net10.0 | None: a test project on .NET 8 or 9 stays on 4.x |
CompressTestRunReportPayloads |
On by default | Obsolete (warning CS0618), and reaches only the JSON file | Set it only alongside CompressTestRunReport = false; v6 removes it |
| A closed composite step's sub-steps | Drawn in the page | Drawn the first time the step opens, where they come to 2 KB of HTML or more | RenderCollapsedSubStepsOnExpand = false |
| The HTML report | Toolbar toggles, panels and disclosures, one set of colours | Tabs on a report bar, a light and a dark theme on colour tokens, a run band, filter rows folded under More filters (from 5.11.0 a filter box hidden until the bar's Filters opens it, and a search with a Search tab) | None: a stylesheet, a script or a browser test written against 4.x's markup may need changing ([[Migrating to v5: the report |
| Start states | Assertion notes hidden, payloads cut at 40 lines, the dependency filter on AND | Every diagram toggle but Headers on, payloads cut at 10 lines, the dependency filter on ANY (OR) |
AssertionsShown = false, TruncateLines = TruncateLineCount.Lines40 and DependencyFilterMode = FilterCombinationMode.And on TestRunReportToggleDefaults (and SpecificationsToggleDefaults) |
| History and diagnostics in the report | Left out by default (on the labs page from 4.6.0) | The History and Diagnostics tabs, on by default |
ShowHistorySection = false and ShowReportDiagnosticsSection = false, or kronikol ingest --no-diagnostics-section
|
| Labels and categories |
Feature.Labels; Scenario.Labels and Scenario.Categories
|
Feature.Tags and Scenario.Tags, filled by every adapter from its framework's own tagging |
None: the members are gone, and code that used them moves to tags ([[Migrating to v5: tags |
var options = new ReportConfigurationOptions
{
CompressTestRunReport = false, // TestRunReport.json, as 4.x wrote it
GenerateTestRunReportSchema = true, // TestRunReport.schema.json beside it
RenderCollapsedSubStepsOnExpand = false, // every step drawn in the page
ShowHistorySection = false, // no History tab
ShowReportDiagnosticsSection = false, // no Diagnostics tab
TestRunReportToggleDefaults = new ReportToggleDefaults
{
AssertionsShown = false, // assertion notes hidden
TruncateLines = TruncateLineCount.Lines40, // payloads cut at 40 lines
DependencyFilterMode = FilterCombinationMode.And, // the dependency filter on AND
},
};A run writes TestRunReport.krkl in place of TestRunReport.json. It is the same report as compact JSON, without the
keys that hold nothing (unless the schema requires them), with every payload as text, and the whole compressed with
zstd. It declares formatVersion 3. On BreakfastProvider's LightBDD report the JSON was 6,150,370 bytes and the
.krkl 279,968, about a twentieth; a report filled by large payloads shrinks less, since each payload is already
most of its own size. A mergeable run (GenerateMergeableData) writes its mergeable file the same way.
What reads it:
-
kronikol4.30.0 and later: everykronikol queryverb,kronikol merge,kronikol diffand the rest. An olderkronikolrefuses the file rather than half-reading it. Update the tool:dotnet tool update -g Kronikol.Tool. -
The
query.csbeside the report reads it, with nothing installed. -
query.pyreads it on Python 3.14 or later, which can decompress zstd; on an older Python it says so and stops. -
The history action. The tool its
VERSIONfile installs reads.krkl, so a workflow that pins the action to a tag beforev4.30.0has to move it on. -
Your own scripts. The file is not JSON on disk, so
jq, agrepor a JSON parser reads nothing from it.kronikol decode TestRunReport.krkl -o TestRunReport.jsonwrites the JSON, and--indentindents it; or setCompressTestRunReport = falseand keep the JSON. To answer a question about a run,kronikol querynever needs the JSON. -
CI uploads. An artifact step that names
TestRunReport.jsonfinds nothing: nameTestRunReport.krkl, or upload the reports folder. See CI Artifact Upload. - Kronikol4J writes its own file and is not affected.
CompressTestRunReportPayloads has no effect on a .krkl: the payloads are text inside a file compressed whole, which
comes out smaller than payloads compressed one by one.
GenerateTestRunReportSchema defaults to false, so a run no longer writes TestRunReport.schema.json beside its
report. Nothing in Kronikol reads it. Set the option to true, or pass --schema to kronikol merge or
kronikol ingest, if something of yours validates the data file or the JSON kronikol decode writes. A schema an
earlier run left at the top of the reports folder stays there, since no Run.json lists it.
Every package targets net10.0 alone; net8.0 and net9.0 are dropped, and net11.0 joins in a 5.x release when .NET 11
ships. A test project on .NET 8 or 9 stays on 4.x. The project templates offer --Framework net10.0 alone.
It still works where it did, on the JSON file a run writes with CompressTestRunReport = false, and v6 removes it.
Code that sets it gets warning CS0618 when it builds, which fails a build that treats warnings as errors: delete the
line, unless you keep the JSON file and want its payloads compressed. kronikol ingest --payloads is obsolete with it.
A composite step is drawn closed, as in 4.x. Where its sub-steps come to 2 KB of HTML or more, the page now holds them compressed and draws them the first time the step is opened, so a suite of deeply nested steps (LightBDD composites 20 levels down, say) keeps a small report. A step on the way to a failure is drawn and open as before. The report's search matches a word in a step nobody opened, Export Filtered HTML carries the steps its scenarios need, and a row of a parameterized group opens the steps that were open in the row it replaced.
The browser's own find (Ctrl+F) cannot see a step nobody opened, and neither can a script or a test of yours that
looks for a sub-step's markup in the page's HTML. Set RenderCollapsedSubStepsOnExpand = false to draw every step in
the page. From 5.6.0 the page itself is compressed, so with the option false such a script finds the steps' markup
in the plain page kronikol decode writes, not in the file (below).
kronikol ingest follows the library: without flags it writes TestRunReport.krkl and no schema.
--data-file json writes the JSON, --schema the schema, and --payloads applies only with --data-file json.
kronikol merge writes a .krkl when any input is one or -o names that extension, so shards from 5.0.0 runs merge
into a .krkl; --schema writes the schema beside the merged file. See Ingesting External Captures and
Merging Parallel Reports.
From 5.6.0 TestRunReport.html and Specifications.html are written compressed, by a run, kronikol merge and
kronikol ingest, with no option to turn it off: each is a small page that holds the report as zstd frames and opens
it in the browser. Nothing a reader of the report does changes, and the data file is as it was. What changes is for
a script or a test that reads the file:
-
A text search or a parser of the file (
grep, a secret scan, an HTML parser in a test) finds nothing in it.kronikol decode TestRunReport.html -o plain.htmlwrites the plain page, the report as a page written before 5.6.0 holds it, andHtmlReportFile.ReadPlain(path)(namespaceKronikol.Reports) gives code the same. To search what a run captured,kronikol query grepreads the data file. -
A browser test that reads the page once its
loadevent fires reads the loading screen: wait forwindow.__kronikolReady === truefirst.
See Generated Reports › The compressed page.
Migrating to v5: the report covers the report's tabs, themes and settings: the stylesheet classes and page functions that are gone or changed, what a browser test should select now, the settings that mean something new, the links, and what a report shows differently. Report Themes lists the colour tokens.
Migrating to v5: tags covers labels and categories becoming tags: the members that are gone, what each adapter reads, how a 4.x data file and a 4.x tool read a 5.0.0 one, and what the report's Tags row shows.
Home · 🔍 Search this wiki Full-text search across every page. The “Pages” list above matches page and heading names, not page content.
Getting Started
- Quick Start (xUnit)
- Project Templates
- AI Integration Prompt
- Framework Integration Guides
- Migrating to v5
- Migrating to v4
Common Tasks
Integration Guides
- Integration xUnit3
- Integration xUnit2
- Integration NUnit
- Integration MSTest
- Integration TUnit
- Integration BDDfy xUnit3
- Integration LightBDD xUnit2
- Integration LightBDD xUnit3
- Integration LightBDD TUnit
- Integration ReqNRoll xUnit2
- Integration ReqNRoll xUnit3
- Integration ReqNRoll TUnit
- Integration Playwright
Uninstrumentable / polyglot backends
- Integration ProxyTap Extension
- Integration TcpTap Extension
- Integration Otlp Extension
- Exporting to OpenTelemetry
- Ingesting External Captures
- Ingesting from Jest
- Integration Cucumber Messages
- Capture-Time Redaction
Extensions
- Integration AtlasDataApi Extension
- Integration BigQuery Extension
- Integration Bigtable Extension
- Integration BlobStorage Extension
- Integration ClickHouse Extension
- Integration CloudStorage Extension
- Integration CosmosDB Extension
- Integration Dapper Extension
- Integration DynamoDB Extension
- Integration EF Core Relational Extension
- Integration Elasticsearch Extension
- Integration EventBridge Extension
- Integration EventHubs Extension
- Integration Grpc Extension
- Integration Kafka Extension
- Integration MassTransit Extension
- Integration MongoDB Extension
- Integration MySqlConnector Extension
- Integration Npgsql Extension
- Integration Oracle Extension
- Integration PubSub Extension
- Integration Redis Extension
- Integration S3 Extension
- Integration ServiceBus Extension
- Integration SNS Extension
- Integration Spanner Extension
- Integration SqlClient Extension
- Integration Sqlite Extension
- Integration SQS Extension
- Integration StorageQueues Extension
- Integration OpenTelemetry Extension
- Integration DispatchProxy Extension
- Integration MediatR Extension
- Integration PlantUML IKVM
Configuration
- Tracking Dependencies
- Tracking Custom Dependencies
- HTTP Tracking Setup
- Report Configuration
- Diagram Customisation
- Phase-Aware Tracking
- Content Formatting
- PlantUML Server Configuration
Features
- Generated Reports
- Report Themes
- Search and Filter Syntax
- Component Diagrams
- PlantUML Browser Rendering
- Inline SVG Rendering
- Internal Flow Tracking
- Tags and Attributes
- Excluding Requests
- Excluded Headers
- Multi-Host Test Architectures
- Event-Driven Architecture Testing
- Service Bus Tracking Patterns
- Background Thread Correlation
- Parallel-Safe Background Correlation
- Event & Message Tracking
- Assertion Tracking
- Step Tracking
- Tabular Attributes
- Large Response and Diagram Handling
- Querying Reports
- Service Card
- Cross-Run History
- Diagnostics and Debugging
- CI Summary Integration
- CI Artifact Upload
- Merging Parallel Reports
Reference