Repository navigation
Report Configuration
Pass a ReportConfigurationOptions record when generating reports to customise their output:
new ReportConfigurationOptions
{
TestRunReportTitle = "My Service - Test Results", // Full override for the report page title
SpecificationsTitle = "My API Specifications",
SuiteName = null, // null resolves the suite from the test assembly; it scopes every stableId
ServiceId = null, // the service this run is about, e.g. "breakfast-provider"; see Parties below
Parties = [], // who each party is: the test, the service under test, real or a test double
PartiesFilePath = null, // a parties file other than .kronikol/parties.json
PlantUmlServerBaseUrl = "https://plantuml.com/plantuml",
HtmlSpecificationsFileName = "Specifications",
HtmlTestRunReportFileName = "TestRunReport",
YamlSpecificationsFileName = "Specifications",
ReportsFolderPath = "Reports",
ExcludedHeaders = ["Authorization", "X-Api-Key"],
HtmlSpecificationsCustomStyleSheet = "body { font-family: sans-serif; }",
RequestResponsePostProcessor = content => content.Replace("secret", "***"),
RequestResponseMidProcessor = null, // Mid-processing function applied between pre and post processors
LazyLoadDiagramImages = true, // Adds loading="lazy" to <img> tags (PlantUml format only)
FullSearchIndex = true, // Embed the deep-search index ("search everything" in the report UI)
SeparateSetup = true,
HighlightSetup = true,
FocusEmphasis = FocusEmphasis.Bold | FocusEmphasis.Colored,
FocusDeEmphasis = FocusDeEmphasis.LightGray,
PlantUmlTheme = null, // A theme applies under PlantUmlRendering.Server and Local only; BrowserJs and NodeJs draw unthemed
PlantUmlImageFormat = PlantUmlImageFormat.Png,
DiagramFormat = DiagramFormat.PlantUml,
PlantUmlRendering = PlantUmlRendering.BrowserJs, // Or Server, Local, or NodeJs — see wiki
LocalDiagramRenderer = null, // Set to IkvmPlantUmlRenderer.Render when using PlantUmlRendering.Local
LocalDiagramImageDirectory = null, // Set to e.g. "Reports/images" when using local file-based rendering
WriteCiSummary = false, // Set to true to write CI summary — see CI Summary Integration wiki page
MaxCiSummaryDiagrams = 10, // Max diagrams in CI summary
InlineSvgRendering = false, // Embeds SVG inline instead of <img> tags — see Inline SVG Rendering wiki page
InternalFlowTracking = true, // Enables interactive internal flow popups — see Internal Flow Tracking wiki page
InternalFlowDisplay = InternalFlowDisplay.Popup,
InternalFlowTrigger = InternalFlowTrigger.Click,
InternalFlowDiagramStyle = InternalFlowDiagramStyle.ActivityDiagram,
InternalFlowSpanGranularity = InternalFlowSpanGranularity.AutoInstrumentation,
InternalFlowActivitySources = null,
InternalFlowNoDataBehavior = InternalFlowNoDataBehavior.HideLink,
InternalFlowHasDataBehavior = InternalFlowHasDataBehavior.ShowLinkOnHover,
InternalFlowShowFlameChart = true,
InternalFlowFlameChartPosition = InternalFlowFlameChartPosition.BehindWithToggle,
InternalFlowContentStrategy = InternalFlowContentStrategy.Embedded,
InternalFlowFragmentsFolderName = "spans",
InternalFlowPopupCustomStyleSheet = null,
WholeTestFlowVisualization = WholeTestFlowVisualization.Both, // Shows whole-test flow — see Internal Flow Tracking wiki page
FixedNameForReceivingService = null, // Override the receiving service name in diagrams
GenerateComponentDiagram = true, // Generates C4 component diagram — see Component Diagrams wiki page
PublishCiArtifacts = false, // Set to true to publish reports as CI artifacts — see CI Artifact Upload wiki page
CiArtifactName = "TestReports", // Artifact name in CI system
CiArtifactRetentionDays = 1, // Artifact retention in days (GitHub Actions only)
SpecificationsShowStepNumbers = true, // Show hierarchical step numbers (1., 2., 2.1.) in Specifications
TestRunReportShowStepNumbers = false, // Show step numbers in TestRunReport (default off)
CustomCss = null, // Extra CSS injected after the default stylesheet
CustomFaviconBase64 = null, // Base64 data URI for a custom favicon
CustomLogoHtml = null, // Raw HTML injected before the report title (e.g. <img>)
ActivitySourceDiscovery = false, // Include activity source discovery in report diagnostics
DiagnosticMode = false, // Generate DiagnosticReport.html with debug info
GroupParameterizedTests = true, // Group parameterized tests into tables
MaxParameterColumns = 10, // Max columns before falling back to list view
TitleizeParameterNames = true, // Titleize parameter names in column headers (e.g. "region" → "Region")
TitleWords = [], // Words as the suite spells them, e.g. ["AcmePay", "API", "gRPC"]
GraphQlBodyFormat = GraphQlBodyFormat.FormattedWithMetadata, // Default: auto-format GraphQL queries — see Content Formatting
GenerateSpecificationsReport = true, // Set to false to skip HTML specifications
GenerateTestRunReport = true, // Set to false to skip HTML test run report
GenerateSpecificationsData = true, // Set to false to skip YAML/JSON/XML specifications data
GenerateTestRunReportData = true, // Set to false to skip test run report data file
GenerateMergeableData = false, // Set to true to emit a mergeable report (see Merging Parallel Reports)
CompressTestRunReportPayloads = true, // On from 4.0.0; set to false to write large bodies and diagrams as text
GenerateTestRunReportSchema = true, // Set to false to skip schema file
GenerateSpecificationsMarkdown = false, // Set to true to write Specifications.md (prose, no run data)
GenerateCtrfReport = false, // Set to true to write ctrf-report.json (Common Test Report Format)
GenerateServiceCard = true, // Writes service.json, the service card, beside a JSON data file
GenerateFailuresDigest = true, // Writes Failures.md and Failures.jsonl — on a green run too
WriteAgentInstructions = true, // Writes CLAUDE.md and AGENTS.md into the reports directory
WriteQueryScript = true, // Writes query.cs: kronikol query with nothing installed
WriteRunSummaryToConsole = true, // Prints the closing where-to-look block at the end of the run
SetupHighlightColor = "#F6F6F6", // Background colour for setup partition
ExpectedTestCount = null // Guard against partial test runs overwriting specs
}new ReportConfigurationOptions
{
TestRunReportDataFormat = DataFormat.Json, // Default: Json. Also: Yaml, Xml
SpecificationsDataFormat = DataFormat.Yaml // Default: Yaml. Also: Json, Xml
}The TestRunReportDataFormat controls the format of the machine-readable test run data file (default: JSON, written compressed as TestRunReport.krkl from 5.0.0; see CompressTestRunReport). When diagram and tracking data is available, the file includes PlantUML source and HTTP interaction traces per scenario. See Generated Reports › TestRunReport.json (Machine-Readable Test Run Data).
The SpecificationsDataFormat controls the format of the machine-readable specifications file (default: Specifications.yml).
| Property | Type | Default | Description |
|---|---|---|---|
TestRunReportDataFormat |
DataFormat |
Json |
Format for the test run data file. Json (default), Yaml, or Xml. |
CompressTestRunReport |
bool |
true (false in 4.x) |
From 4.32.0, when true and the format is JSON, the run writes TestRunReport.krkl in place of TestRunReport.json: the same report, compact, without the keys that hold nothing (unless the schema requires them), every payload as text, and the whole compressed with zstd, about a twentieth of the JSON. formatVersion 3 says so. Only Kronikol's tools read it, from 4.30.0: kronikol query and every other reader, and kronikol decode writes the JSON out for a script that needs it (Querying Reports). CompressTestRunReportPayloads does not apply to it, and a mergeable run writes its mergeable file the same way. On by default from 5.0.0; set it to false for the JSON file every release before 5.0.0 wrote (Migrating to v5). |
SpecificationsDataFormat |
DataFormat |
Yaml |
Format for the specifications data file. Yaml (default), Json, or Xml. |
TestRunReportFullStepDetail |
bool |
true |
When true, every step in the data file carries its full detail: parameters (inline values, data tables, tree values), text segments, doc string, comments and bypass reason. This is what makes a parameterised failure legible from the data file alone. In TestRunReport.krkl (CompressTestRunReport), written compact, a step costs a few hundred bytes before compression however deep it is; the indented TestRunReport.json indents every line of a sub-step four spaces further at each level, so there a suite of deeply nested composite steps can spend more of the file on steps than on payloads (a LightBDD step 20 levels down takes about 5 KB). Turn it off only if file size genuinely matters. A step's failureMessage, sourceFile and sourceLine are written either way. The data files are designed to be read with kronikol query rather than by hand; see Querying Reports. Added in 3.0.47; before it, the richer step mapping ran only for the mergeable file, which is off by default. |
| Property | Type | Default | Description |
|---|---|---|---|
PlantUmlServerBaseUrl |
string |
"https://plantuml.com/plantuml" |
Base URL of the PlantUML server used to render diagrams. |
TestRunReportTitle |
string? |
null |
Title displayed at the top of the test run report and in the browser tab. When set, used verbatim — overrides the default title derived from ComponentDiagramOptions.Title or FixedNameForReceivingService. When null, the title is auto-derived: "{ComponentDiagramOptions.Title} - Test Run Report", or "{FixedNameForReceivingService} - Test Run Report", or simply "Test Run Report". |
SpecificationsTitle |
string |
"Service Specifications" |
Title shown at the top of HTML specification reports. |
SuiteName |
string? |
null |
The suite this run belongs to. It scopes every stableId, which is what stops two projects that both have a Cake feature with an Order a cake scenario from minting the same id and colliding when their reports are combined — by kronikol merge, by an ingest folding two runners, or by a cross-run ledger. null means Kronikol resolves it from the test assembly that produced the run: the single *.deps.json sitting beside the output directory, which is the one thing that is genuinely per-suite, stable across runs and present at generation time. Set it explicitly when the assembly name is not the identity you want carried across runs — one assembly sharded into several jobs that should stay distinguishable, or an assembly about to be renamed whose existing ids must survive. A suite that cannot be resolved, or one set to the empty string, reproduces the pre-3.1.0 id byte for byte rather than guessing. The resolved value is written to the data file as a root suite key so the hash input is inspectable. Changing it re-keys every scenario in the run: #sid-<id> deep links and stored baselines are keyed on it. Since 3.1.0. |
HtmlSpecificationsFileName |
string |
"Specifications" |
File name (without extension) for the HTML specifications file. |
HtmlTestRunReportFileName |
string |
"TestRunReport" |
File name (without extension) for the HTML test run report. |
YamlSpecificationsFileName |
string |
"Specifications" |
File name (without extension) for the YAML specifications file. |
HtmlSpecificationsCustomStyleSheet |
string? |
Stylesheets.VioletThemeStyleSheet |
Custom CSS added to the HTML specifications file after the built-in stylesheets (base, context menu, inline SVG, notes, internal flow), so its rules win over theirs at equal specificity, and before InternalFlowPopupCustomStyleSheet and CustomCss. It does not replace the base stylesheet, which every report carries: the default, the built-in violet theme, is an overlay on it. From 5.0.0 the violet theme sets the report's colour tokens for the light and the dark theme ([[Report Themes › The violet theme |
ReportsFolderPath |
string |
"Reports" |
Folder where reports are written — relative paths resolve against AppDomain.CurrentDomain.BaseDirectory, absolute paths are used as-is. Honoured by every file the standard pipeline emits (HTML, data, schema, component diagram, CI summary, copied attachments). ReportGenerator.ResolveReportsDirectory(options) returns the resolved path. (Before 3.0.44 this option was ignored and everything went to <BaseDirectory>/Reports.)
|
ExcludedHeaders |
string[] |
[] |
HTTP headers to exclude from diagram notes. Combined with PlantUmlCreator.DefaultExcludedHeaders (Cache-Control, Pragma). Render-only — the raw headers are still stored and written to the data files; for secrets use Capture-Time Redaction. See Excluded Headers and Filtering and Redacting Diagram Content. |
CollapseConsecutiveIdenticalCalls |
bool |
false |
Collapse maximal runs of consecutive identical request/response pairs (same caller, service, method, path+query, GraphQL operation, status, kind) into one pair inside a PlantUML loop ×N · min–max ms fragment. Keeps poll/retry-heavy traffic legible. When the report's Databases or Events toggle hides a loop's calls, the loop goes with them (5.9.1; it was drawn as an empty loop box). |
CollapseThreshold |
int |
2 |
Minimum run length that triggers collapsing. |
MaxArrowsPerDiagram |
int? |
null |
Cap request/response pairs per test diagram (counted after collapsing); the remainder is summarised as … +N more calls omitted …. |
ShowNoInteractionsMarker |
bool |
true |
Render an explicit No interactions captured for this scenario. line for scenarios whose id matched no tracked interaction, instead of a silently empty diagram section. |
RequestResponsePostProcessor |
Func<string, string>? |
null |
Post-processing function applied to both request and response content before rendering in diagrams. Useful for redacting sensitive data. See Filtering and Redacting Diagram Content for recipes. |
RequestResponseMidProcessor |
Func<string, string>? |
null |
Mid-processing function applied to both request and response content between pre-processing and post-processing. Useful for transformations that should happen after initial formatting but before final redaction. See Filtering and Redacting Diagram Content for recipes. |
LazyLoadDiagramImages |
bool |
true |
When true, adds loading="lazy" to diagram <img> tags in HTML reports. Only applies when PlantUmlRendering is Server or Local (image-based rendering). Has no effect with PlantUmlRendering.BrowserJs (uses IntersectionObserver lazy rendering instead). |
FullSearchIndex |
bool |
true |
When true (3.0.70+), HTML reports embed a compact full-text search index over everything the report contains (note payloads, diagram message text, SQL, flame-chart span names, parameterized example values), so the report's search matches text the instant per-scenario filter data does not cover, and from 5.11.0 its Search tab shows the line where each such match is. Adds roughly 0.25–1 MB to large reports. See [[Search and Filter Syntax |
SeparateSetup |
bool |
false |
When true, the calls a test made before its Setup/Action boundary are wrapped in a visual "Setup" partition in the diagram. The boundary is StartAction(), or in a BDD test the one the test's HTTP client marks before its first request after a request made during a GIVEN step (a GIVEN step whose calls went elsewhere marks none). kronikol ingest --separate-setup places it from an ingested test's steps or its calls' phases (4.1.0+). A test with no boundary draws no partition. See Diagram Customisation. |
HighlightSetup |
bool |
true |
When true (and SeparateSetup is enabled), the setup partition is rendered with a background colour. When false, the partition has no background colour. Has no effect when SeparateSetup is false. |
FocusEmphasis |
FocusEmphasis |
Bold |
How focused fields are styled in diagram JSON notes. Flags enum — combine with |. See [[Content Formatting › DiagramFocus (Field Highlighting) |
FocusDeEmphasis |
FocusDeEmphasis |
LightGray |
How non-focused fields are styled in diagram JSON notes. Flags enum — combine with |. See [[Content Formatting › DiagramFocus (Field Highlighting) |
PlantUmlTheme |
string? |
null |
Name of a PlantUML theme to apply to all generated diagrams. When set, a !theme <name> directive is injected after @startuml. Applied under PlantUmlRendering.Server and Local; under BrowserJs (the default) and NodeJs the renderer loads the engine without its theme bundle, so the diagrams are drawn unthemed and, from 3.30.0, the run records an OptionNotApplied diagnostic (from 3.0.76 to 3.29.5 such a theme left the report without diagrams). Browse available themes at the PlantUML Theme Gallery. See [[Diagram Customisation › PlantUML Themes |
PlantUmlImageFormat |
PlantUmlImageFormat |
Png |
Image format for rendered diagrams. Png (default) produces raster images; Svg produces scalable vector images. Base64Png and Base64Svg embed images inline as data URIs (requires LocalDiagramRenderer). Controls the URL path segment (/png/ or /svg/) when using a remote server. See PlantUML Server Configuration and Integration PlantUML IKVM. |
DiagramFormat |
DiagramFormat |
PlantUml |
Output format for sequence diagrams. |
PlantUmlRendering |
PlantUmlRendering |
BrowserJs |
How PlantUML diagrams are rendered. BrowserJs (default) renders client-side in the browser via PlantUML's TeaVM engine, its Wasm GC build where the browser runs it (5.0.0) and its JavaScript build elsewhere. Server uses a remote PlantUML server. Local renders in-process via IKVM (requires LocalDiagramRenderer). NodeJs renders at report-generation time through one local Node.js process running the same engine as BrowserJs. See PlantUML Browser Rendering and Integration PlantUML IKVM. The CI job summary is not affected by this option: see [[CI Summary Integration › Where the Diagram Images Come From |
BrowserRenderWorkers |
int |
4 |
BrowserJs only. Number of Web Workers the report page renders diagrams on (capped by the viewer's navigator.hardwareConcurrency), so the 7 MB engine never runs on the main thread: the page is interactive immediately, fragments render in parallel, toggles never freeze the page. 0 renders on the main thread (the pre-3.0.45 path — also the automatic fallback when Workers/fetch/OffscreenCanvas are unavailable or the engine cannot be fetched). An engine file that fails its known-hash check is never run on either path (3.31.1, see [[PlantUML Browser Rendering › Engine integrity |
BrowserRenderCacheMegabytes |
int |
64 |
BrowserJs only. Byte bound of the page's rendered-SVG cache keyed by fragment source; every successful render fills it, so a note/assertion/step toggle that re-splits a big diagram is mostly cache hits (the toggle paths also prefetch their new fragments in parallel). Oldest entries go first; 0 disables it. |
NotePayloadFormat |
NotePayloadFormat |
Yaml (Json before 4.0.0) |
BrowserJs only. Initial display format for JSON note payloads in sequence diagrams. Yaml starts every eligible JSON payload in the derived YAML view (SQL and other embedded multi-line strings render as block scalars); readers can still switch any note, or all of them with the Payload format dropdowns (the JSON/YAML toolbar dropdowns before 5.0.0), either way in the report itself. kronikol ingest --note-format yaml sets it from the CLI. Since 3.0.80 this is also settable per report via the toggle-defaults groups (a group value wins over this flat option); see Toggle Default Start States. |
DiagramNoteWrapWidth |
int |
800 |
How wide, in pixels, a sequence-diagram note body is drawn before PlantUML breaks it at a space (skinparam wrapWidth). Raise it when your notes carry wide content — analytics SQL, XML, tabular text. This is the only note-width control that reaches Server, Local, NodeJs and a source a reader copies out of the report, because the per-note full-width toggle is client-side; under BrowserJs it sets the width every note starts at and readers can still widen individual notes. Valid range 720–4096 — the floor is the width a form-url-encoded note chunk needs to stay on one drawn line, the ceiling is PlantUML's own PLANTUML_LIMIT_SIZE, past which a rasterised diagram (a PNG render, or a source pasted into plantuml.com) is silently cropped. A value outside it fails report generation with the range in the message. (3.0.85+) |
TestRunReportToggleDefaults |
ReportToggleDefaults |
all unset | Default start states for the interactive report controls (Payloads and its line count, the Headers, Assertions, Steps, Databases, Events and Setup toggles, payload format and width, expand states, diagram view tab, the tab the page opens on, the Features tab's view, filter modes, disclosure sections; 5.0.0 made the panels tabs). Applies to the HTML test run report AND, unless a property is specifically overridden via SpecificationsToggleDefaults, to Specifications.html. Every property is nullable; null = built-in default. See Toggle Default Start States. (3.0.80+) |
SpecificationsToggleDefaults |
ReportToggleDefaults |
all unset |
Specifications.html overrides for TestRunReportToggleDefaults. Any property left null inherits the effective TestRunReport value. See Toggle Default Start States. (3.0.80+) |
BrowserFragmentMaxHeight |
int |
12000 |
BrowserJs only. Estimated rendered height in px (45 per arrow, 18 per note line) at which the browser splits one diagram into separately rendered fragments. The default is the fastest height measured on the current engine (3.31.1): at 4,000 px a note-heavy report took 56–66 % longer to render and 41–77 % longer to re-render on a note toggle, with three times the fragment seams. See Large Response and Diagram Handling. |
PayloadScrollLines |
int |
40 |
BrowserJs only, from 5.4.0. The most body lines a payload draws in a sequence diagram before it scrolls in its box. A request, response or message body longer than this is drawn this many lines tall (fewer where its lines are so long that this many would pass the 15,000 characters at which the page splits a note), with a ... line under them and a clear row as wide as its widest line (cut to one row where that line would wrap), and a scroll box laid over the body holds every line of it; its header lines stay drawn above the box. That is an expanded payload, and one truncated at a Payload length above this value, whose box holds the lines that length keeps. A collapsed payload, and one truncated at this many lines or fewer, draw as before. On by default, so a report that sets nothing draws a payload longer than 40 body lines this way. 0 never caps: every payload is drawn in full, as through 5.3. Otherwise 10 to 1000; any other value fails report generation, whatever draws the diagrams, with an error naming the range. kronikol merge and kronikol ingest use 40. The Server, Local and NodeJs renderers and the CI summary run none of the page's scripts and always draw every payload in full. See [[Large Response and Diagram Handling › A Long Payload Scrolls in Its Box (5.4.0+) |
LocalDiagramRenderer |
Func<string, PlantUmlImageFormat, byte[]>? |
null |
Function that renders PlantUML text to image bytes locally. Required when PlantUmlRendering is Local. Use IkvmPlantUmlRenderer.Render from the Kronikol.PlantUml.Ikvm package. See Integration PlantUML IKVM. |
LocalDiagramImageDirectory |
string? |
null |
Directory where locally rendered image files are saved. Required when using LocalDiagramRenderer with Png or Svg format. Typically set to a subfolder like Reports/images. Not needed for Base64Png/Base64Svg. |
GenerateComponentDiagram |
bool |
true |
When true, generates a C4-style component diagram aggregating all tracked interactions across the test suite. Produces ComponentDiagram.puml and ComponentDiagram.html files alongside existing reports. See Component Diagrams. |
ComponentDiagramOptions |
ComponentDiagramOptions? |
null |
Configuration for the component diagram: custom title, PlantUML theme (applied under Server and Local only, like PlantUmlTheme; from 3.30.0 the run records OptionNotApplied under the other two), participant filter, relationship label formatter, and output file name. Only used when GenerateComponentDiagram is true. See Component Diagrams. |
InlineSvgRendering |
bool |
false |
When true, embeds PlantUML SVG diagrams inline in the HTML instead of using <img> tags. Requires PlantUmlImageFormat.Svg for Server/Local rendering. Automatically enabled when InternalFlowTracking is true. See Inline SVG Rendering. |
InternalFlowTracking |
bool |
true |
Master switch for internal flow popups. When true, clicking a sequence diagram arrow shows the internal SUT activity (OTel spans) that occurred during that segment. Forces InlineSvgRendering = true and PlantUmlImageFormat.Svg for Server/Local. Span capture is auto-started by TestTrackingMessageHandler — no extra packages needed for the standard case. See Internal Flow Tracking. |
InternalFlowDisplay |
InternalFlowDisplay |
Popup |
How internal flow content is shown. Popup shows it in a modal overlay. Inline is not implemented: no report reads this option. |
InternalFlowTrigger |
InternalFlowTrigger |
Click |
User interaction that opens the popup. Click requires clicking the arrow. Hover is not implemented: no report reads this option. |
InternalFlowDiagramStyle |
InternalFlowDiagramStyle |
ActivityDiagram |
Visual style for internal flow content. ActivityDiagram renders a PlantUML activity diagram with swimlanes. CallTree renders an HTML nested list. |
InternalFlowSpanGranularity |
InternalFlowSpanGranularity |
AutoInstrumentation |
Controls which spans are included. AutoInstrumentation filters to well-known sources (ASP.NET Core, HttpClient, EF Core, Redis, Cosmos, etc. — see [[Internal Flow Tracking › Well-Known Auto-Instrumentation Sources |
InternalFlowActivitySources |
string[]? |
null |
Activity source names to include when InternalFlowSpanGranularity is Manual. Ignored for other granularity settings. It filters what a report draws, not what is captured. |
InternalFlowNoDataBehavior |
InternalFlowNoDataBehavior |
HideLink |
Behaviour when no spans exist for a segment. HideLink (default) removes the clickable link. ShowMessage shows a diagnostic message. VisualDistinction is not implemented and behaves as ShowMessage. |
InternalFlowHasDataBehavior |
InternalFlowHasDataBehavior |
ShowLinkOnHover |
Behaviour when spans exist for a segment. ShowLinkOnHover (default) shows the clickable link only when hovering over the arrow. ShowLink always shows the link. |
InternalFlowShowFlameChart |
bool |
true |
When true, adds a flame chart visualisation alongside the main content. |
InternalFlowFlameChartPosition |
InternalFlowFlameChartPosition |
BehindWithToggle |
Where the flame chart appears. Underneath places it below the main content. BehindWithToggle shows a toggle button. |
InternalFlowContentStrategy |
InternalFlowContentStrategy |
Embedded |
Not implemented: no report reads it. Every report embeds the segment data, compressed, in one element. |
InternalFlowFragmentsFolderName |
string |
"spans" |
Not implemented: no report writes fragment files. |
InternalFlowPopupCustomStyleSheet |
string? |
null |
Custom CSS for the internal flow popups and controls, added to both HTML reports when InternalFlowTracking is on: after the built-in stylesheets and HtmlSpecificationsCustomStyleSheet, before CustomCss. Allows overriding or extending the default popup styles. Applied from 3.29.2; earlier releases ignored it. |
WholeTestFlowVisualization |
WholeTestFlowVisualization |
Both |
Controls whether a whole-test flow section is shown per scenario. None disables it. FlameChart shows only a flame chart with boundary markers. ActivityDiagram shows only a PlantUML activity diagram. Both shows a toggle between the two. See [[Internal Flow Tracking › Whole Test Flow |
GenerateComponentDiagram |
bool |
true |
When true, generates a C4-style component diagram. See Component Diagrams. |
ComponentDiagramOptions |
ComponentDiagramOptions? |
null |
Configuration for the component diagram. See Component Diagrams. |
SequenceDiagramArrowColors |
bool |
true |
When true, sequence diagram arrows are coloured by the target service's dependency type. When false, arrows use the default PlantUML style. |
SequenceDiagramParticipantColors |
bool |
false |
When true, sequence diagram participant declarations include a background colour matching their dependency type. |
DependencyColors |
Dictionary<string, string>? |
null |
Per-category color overrides for dependency-type arrow/participant colouring. Key is the category string (e.g. "CosmosDB", "Redis"), value is a hex colour (e.g. "#FF0000"). Applies to both sequence and component diagrams. |
ServiceTypeOverrides |
Dictionary<string, string>? |
null |
Override the auto-detected dependency type for specific service names. Key is the service name, value is the category (e.g. "Database", "Cache"). |
GraphQlBodyFormat |
GraphQlBodyFormat |
FormattedWithMetadata |
Controls how GraphQL request bodies are displayed in sequence diagram notes. Json = previous behaviour (JSON pretty-print, query stays single-line). FormattedQueryOnly = formatted query only, no headers or metadata. Formatted = formatted query with headers. FormattedWithMetadata = formatted query with headers, variables, and extensions. When FocusFields are in use, automatically falls back to Json. See [[Content Formatting › GraphQL Body Formatting |
WriteCiSummary |
bool |
false |
When true, generates a Markdown CI summary and writes it to the detected CI platform (GitHub Actions or Azure DevOps). The summary is also saved to Reports/CiSummary.md. It ends with the "Debug this run" section when something failed, and on a green run with "The report", which tells people which file to open and where the run's artifacts are. On Azure DevOps under dotnet test the summary needs a pipeline step. See CI Summary Integration. |
WriteCiDebugSection |
bool |
true |
When CI is detected and something failed, writes a short "Debug this run" section to stdout and additionally to the job summary: first, for people, which report to open, the folder the job wrote it to and a link to the run's artifacts; then, for AI agents, the rule not to open the report and the commands that query it, on GitHub Actions from a download of the run's artifacts (4.19.7; before it, the commands named the runner's folder, which is gone once the job ends). A GitHub job summary is read by people only: no API, gh command or MCP tool returns one. See CI Summary Integration. Separate from WriteCiSummary because that generates the full CiSummary.md with rendered diagrams, measured at 48 KB; four lines of advice should not cost a 48 KB artifact. Silent on a green run and off CI. Both channels are needed and that is measured: content written only to $GITHUB_STEP_SUMMARY is absent from gh run view --log, and no console stream survives every runner - on .NET 10, dotnet test under NUnit 4 let a library's stderr through while swallowing its stdout, and under xUnit 2 swallowed both. (3.3.0) |
MaxCiSummaryDiagrams |
int |
10 |
Maximum number of sequence diagrams to include in the CI summary. When failing: caps the number of failed scenarios shown. When passing: caps the number of showcase diagrams. See CI Summary Integration. |
FixedNameForReceivingService |
string? |
null |
When set, overrides the receiving service name in all diagram arrows. Useful when the target service name is dynamic or when you want a consistent name. Also configurable on TestTrackingMessageHandlerOptions. See HTTP Tracking Setup. |
SpecificationsShowStepNumbers |
bool |
true |
When true, shows hierarchical step numbers (e.g. 1., 2., 2.1., 2.1.1.) in the Specifications HTML report. |
TestRunReportShowStepNumbers |
bool |
false |
When true, shows hierarchical step numbers in the TestRunReport HTML report. |
SeparateBackgroundSteps |
bool |
false |
When true, a scenario's background steps get their own collapsible Background Steps section above Steps. By default they are listed inline, first, in the one Steps list — the order the data files and step paths already use (b0, b1, then 0, 1). Applies to both HTML reports; the data outputs keep the two collections separate either way. See [[Step Tracking › Background Steps |
CollapseRepeatedStepKeywords |
bool |
true |
When true, a step repeating the primary keyword already in force displays as And — a background Given followed by a scenario Given reads Given / And. Rendering only: every data output emits the keyword the producer recorded. Localised Gherkin keywords are not recognised and pass through unchanged. See [[Step Tracking › Background Steps |
RenderCollapsedSubStepsOnExpand |
bool |
true |
From 5.0.0. When true, the sub-steps of a closed composite step whose HTML comes to 2 KB or more are held apart in the page, on both HTML reports, and drawn the first time the step is opened, so a report of deeply nested composite steps stays small: gzipped in a plain page, and from 5.6.0, in the compressed page, as HTML inside its zstd frame. A step on the way to a failure is drawn and open as before, the report's search still matches a word in a step nobody opened, and Export Filtered HTML carries the steps it needs. On a plain page a browser that cannot decompress them (Chrome before 80, Firefox before 113, Safari before 16.4) shows a line saying so in their place; the compressed page opens them there too (5.6.0). The browser's own find (Ctrl+F) cannot see a step nobody opened: set it to false to draw every step as 4.x did. The steps' markup is then in the page, which from 5.6.0 the file holds compressed, so a script that reads the file's text finds it only in the plain page kronikol decode writes ([[Generated Reports › The compressed page |
InlineBackgroundSteps |
bool |
false |
Deprecated — was never read by any code path. Background steps are inlined by default now; set SeparateBackgroundSteps = true for the old separate section. Setting it produces an [Obsolete] compiler warning. |
CustomCss |
string? |
null |
Extra CSS injected in a separate <style> block after the default stylesheet. Allows customising report appearance without replacing the entire stylesheet. From 5.0.0 the report's colours and type are CSS custom properties with a light and a dark value, which this sheet can set again; a sheet written against 4.x's rules or colours may no longer apply where 5.0.0 changed the markup. See Report Themes. |
CustomFaviconBase64 |
string? |
null |
Base64-encoded data URI for a custom favicon. Set to e.g. "data:image/png;base64,ABC123..." to override the browser tab icon. |
CustomLogoHtml |
string? |
null |
Raw HTML injected inside a <div class="custom-logo"> before the report title <h1>. Useful for adding a company logo, e.g. "<img src='data:image/png;base64,...' alt='Logo'>". |
ActivitySourceDiscovery |
bool |
false |
When true, report diagnostics include a list of all discovered ActivitySource names and their span counts. Helps identify which OpenTelemetry sources are producing data. See Diagnostics and Debugging. |
DiagnosticMode |
bool |
false |
When true, generates a DiagnosticReport.html file alongside normal reports containing configuration dumps, log counts, unpaired requests, orphaned test IDs, and activity source discovery. See Diagnostics and Debugging. |
ShowReportDiagnosticsSection |
bool |
true (false from 3.21.0 to 4.x) |
Give TestRunReport.html a Diagnostics tab when the run recorded something about itself (a tap whose decoder gave up, a skipped capture line, a render that failed): the list, open in its tab, with the count of its entries on the tab. A healthy run has nothing to list and no tab. false leaves the tab out (kronikol ingest --no-diagnostics-section). From 3.21.0 to 4.x it was off by default, because the list was a collapsed section above the features, a line of noise on a healthy run, and ReportToggleDefaults.DiagnosticsOpen set whether it started open; in the tab that setting has nothing to open. The same list is on the labs page beside the report whenever the run recorded an entry (GenerateLabsReport, 4.6.0), where it is always open, and every diagnostic still reaches IngestResult.Diagnostics and the diagnostics array of the data file, and kronikol ingest prints every one. See Diagnostics and Debugging. Since 3.21.0; the tab and the default since 5.0.0. |
GroupParameterizedTests |
bool |
true |
When true, parameterized tests (e.g. [Theory], [TestCase], Scenario Outline) that share the same test method are grouped into a single collapsible entry with a parameter table. Each row shows the input parameters, status, and duration. Clicking a row switches the detail panel, sequence diagrams, and whole-test-flow visualisations. When false, parameterized tests render individually (except tests with a shared OutlineId, which are always grouped). Even single-instance parameterized tests (e.g. a single [InlineData]) are rendered in table format when they have parameters. See [[Generated Reports › Parameterized Test Grouping |
MaxParameterColumns |
int |
10 |
Maximum number of parameter columns to display in the R1 (scalar columns) layout. When a parameterized group has more parameters than this limit, the table falls back to R0 (full display name) layout. This prevents excessively wide tables when test methods have many parameters. Only applies when GroupParameterizedTests is true. |
TitleizeParameterNames |
bool |
true |
When true, parameter names in column headers are titleized (e.g. region → Region, firstName → First Name), and a titleized header reads the words of TitleWords as listed (vatRate reads VAT Rate with VAT listed, since 5.18.0). When false, raw parameter names from the test framework are displayed as-is. |
TitleWords |
IList<string> |
empty | Words as the suite spells them (AcmePay, API, gRPC, PostgreSQL, iOS), put back into the titles Kronikol makes from a class's or a method's name: a feature named after its class, a scenario after its method, LightBDD's names, BDDfy's own titles, the group headings made from them, and the parameter columns' headers when TitleizeParameterNames is on. An entry matches a run of whole words whose letters and digits, read without case, are the entry's own, and the run then reads as the entry is written: AcmePay turns "Acme pay webhook tests" into "AcmePay webhook tests", gRPC mends both "Grpc" and "g RPC", and MCA BDDfy's "When m c a funding activates". Longer entries are tried first. The punctuation around the run stays, and so do the digits written after its last word (xUnit mends "X unit3" into "xUnit3"). A plural is an entry of its own (APIs), an entry that is a run of ordinary words rewrites them too (CheckOut turns "Check out the basket" into "CheckOut the basket"), and an entry with no letter or digit is ignored. Never changed: a name a person wrote (a Gherkin title, a DisplayName, a TestName, a title passed to BDDfy or a [Story(Title)]), a row's arguments, and a value written into a title in quotes. No stableId moves when an entry is added, edited or removed: the data files record the name an id was computed from as stableIdName. What reads the words does move: a saved search or a link to a group for words the list joined ("Acme Pay" to "AcmePay"), and a feature's place among the features, which are ordered by name. kronikol merge pairs two shards' feature by the name its ids key on where both shards' lanes made its name (nameGenerated in the data file), so a shard written with the list and one written without it are one feature; a merged report titleizes its parameter headers without the list, which is the run's option, not the merge's. Since 5.18.0. |
CapitaliseTitles |
bool |
true |
Upper-case the first letter of every feature, rule and scenario title, an outline's template title included, so the headings read as sentences however the producer wrote them: a Gherkin Scenario: the overview renders reads "The overview renders". A title that starts with a quote, a bracket, a digit or a symbol is left alone, and so is a first word with a capital inside it (iPhone, gRPC). TitleWords runs after it. kronikol ingest --no-capitalise turns it off. |
CapitaliseStepText |
bool |
true |
Upper-case the first letter of every step and assertion label that carries no Gherkin keyword, so the step list reads as sentences however the producers wrote them. Gherkin steps, quoted literals and markers (✓ ✗ ⚠) are left alone. See Step Tracking. kronikol ingest --no-capitalise turns it off. |
GenerateSpecificationsReport |
bool |
true |
When false, skips generating the HTML specifications report. |
GenerateTestRunReport |
bool |
true |
When false, skips generating the HTML test run report. |
GenerateLabsReport |
bool |
true |
Write the labs page beside the report, {HtmlTestRunReportFileName}.labs.html (TestRunReport.labs.html by default): the history and diagnostics views on a page of their own, while their design is worked out. It holds the History section and every scenario's sparkline and verdict when the run read history and EmbedHistoryInReport is on, and the Report diagnostics list when the run recorded a diagnostic; with neither, no page is written. From 5.0.0 the report itself has History and Diagnostics tabs as well (ShowHistorySection, ShowReportDiagnosticsSection), and the page opens in the report's light or dark theme: of the report's scripts it runs only the theme's two, where before 5.0.0 it had no script. Its scenario names link into the report. See [[Generated Reports › TestRunReport.labs.html |
GenerateSpecificationsData |
bool |
true |
When false, skips generating the specifications data file (YAML/JSON/XML). |
GenerateTestRunReportData |
bool |
true |
When false, skips generating the test run report data file. |
CompressTestRunReportPayloads |
bool |
true (false before 4.0.0) |
When true (and the data format is JSON), a captured body or a diagram's PlantUML source of 8,192 characters or more (512 in 4.0.0 and 4.0.1) is written in TestRunReport.json as {"$h", "$n", "$z"} in place of its text, unless that would not make it smaller: $z is the base64 of the gzip of the text's UTF-8, $h its b: address and $n its length. A file holding one declares formatVersion 2. kronikol query, kronikol merge and the skill's query.py from 3.35.0 read it as they read the plain form; an older kronikol refuses it and says to upgrade. See [[Generated Reports › Compressed payloads |
GenerateMergeableData |
bool |
false |
When true (and the data format is JSON), enriches the data file (TestRunReport.krkl, or TestRunReport.json) with everything needed to reconstruct a full HTML report later — component relationships, internal-flow data, whole-test-flow fragments, CI metadata and the run's diagnostics — so several files can be combined with kronikol merge, which since 3.1.0 writes the merged data file beside the merged HTML. See Merging Parallel Reports. The file is larger than the standard report. |
GenerateTestRunReportSchema |
bool |
false (true in 4.x) |
When true, writes the data file's schema beside it: TestRunReport.schema.json for a JSON or .krkl data file, TestRunReport.schema.xsd for XML. Nothing in Kronikol reads it; it is there for a consumer who validates the data file, or the JSON kronikol decode writes. kronikol merge --schema and kronikol ingest --schema ask for it from a command line. |
GenerateSpecificationsMarkdown |
bool |
false |
When true, writes <YamlSpecificationsFileName>.md — the specification as prose, with no run data at all. Unlike its two siblings it is not blanked on a failed run. Suppressed by ExpectedTestCount like every other specification output. See Generated Reports. Since 3.1.0. |
GenerateCtrfReport |
bool |
false |
When true, writes ctrf-report.json — the run in Common Test Report Format, for CI tooling that already reads it. Carries failure messages and traces verbatim, and is swept up by PublishCiArtifacts like every other .json in the folder. See Generated Reports. Since 3.1.0. |
GenerateFailuresDigest |
bool |
true |
When true, writes Failures.md and Failures.jsonl beside the report: every failure in context — error, parsed expected/actual, the failing step and its file:line, the calls made inside it, attachments, and the query address of each — clustered so that twenty scenarios broken by one cause read as one cause. Never a payload, a header or a diagram. Written on a green run too, as # No failures (nothing failed in the newest run: since 3.27.0, when the run it replaced had failures, the line under the heading says so and where that run is kept, see KeepRuns), so that the file's absence always means the run did not finish. See Generated Reports. Since 3.1.0. |
GenerateServiceCard |
bool |
true |
When true, writes service.json beside the report at the run's end (5.22.0): the [[Service Card |
KeepRuns |
int? |
null |
How many earlier runs are kept, whole, under <reports>/runs/<run>/ - so that a green re-run does not destroy the failing run's report. null resolves it: KRONIKOL_KEEP_RUNS (a number, or off), then 3 off CI and 0 on CI. The newest kept run that failed is never the one pruned, and on CI the earlier attempts of the same run (a retry extension, a second workflow step) are kept even at 0. The top level of the reports directory is unchanged. See Generated Reports. Since 3.27.0. |
HistoryFilePath |
string? |
null |
The cross-run history ledger this run reads and appends to. null resolves it: KRONIKOL_HISTORY (the value off switches history off for the run), then <repository root>/.kronikol/history.jsonl for the nearest .kronikol or .git directory above the test output or the reports directory (for an ingest, above the directory it is run in, then the reports directory). See Cross-Run History. Since 3.9.0. |
HistoryRunId |
string? |
null |
The identity the run is recorded under on a CI provider Kronikol does not detect — gitlab:$CI_PIPELINE_ID:1 — so shards of one pipeline fold into one run and a re-run does not overwrite the run it re-ran. null derives gh:<run id>:<attempt>, ado:<build id>:1 or a timestamped local: id. Since 3.9.0. |
HistoryWindow |
int |
50 |
How many earlier runs of the suite the verdicts look back over; only the windowed runs are parsed, so it bounds the read cost. Since 3.9.0. |
HistoryMinRuns |
int |
5 |
Pass-or-fail verdicts a scenario needs before it can be called flaky or slower. Since 3.9.0. |
HistoryDurations |
bool |
true |
Record per-scenario durations (the slower verdict and the duration trend). Since 3.9.0. |
HistoryShapes |
bool |
true |
Record the interaction fingerprints — the set of calls each scenario made, ids and timestamps templated away — and the call counts, which the behaviour-changed verdict compares. Since 3.9.0. |
HistoryErrorKeys |
bool |
true |
Keep the first line of each failure message (with a Shouldly message's check from its second line, or for one written without its source, its check and expected value; at most 200 characters) in the ledger as the failure's cluster key; false keeps only a hash of it, so failures still cluster and no message text reaches the ledger. Since 3.9.0. |
HistoryFlakyRate |
double |
0.1 |
The flip rate at or above which a scenario that has failed, recovered and failed again is flaky. Flip rate, not fail rate. Since 3.9.0. |
HistorySlowerBy |
double |
1.5 |
The factor over the window's 95th-percentile duration that makes a scenario slower, when this run and the previous one both exceed it. Since 3.9.0. |
HistorySlowerMinMs |
int |
100 |
The least a scenario must be over the bar, in milliseconds, before it is slower: a scenario measured in single digits clears the factor on runner jitter alone. Since 3.16.0. |
HistoryAlternatingRuns |
int |
10 |
How many passing runs back a set of calls the scenario held counts as a known state. A scenario back on a set it held within them, with a different set in between, reads alternating rather than behaviour-changed. Since 3.18.0. |
HistoryCountRuns |
int |
2 |
How many consecutive runs a changed call count must hold before the change is behaviour (behaviour-changed); 1 is the 3.15.0 rule, a verdict on the run the count changes. Since 3.20.0. |
HistoryShapeTemplates |
IList<HistoryShapeTemplate> |
[] |
Your own templating rules for the call fingerprints: an ordered list of .NET regular expressions and what replaces each match, applied before the built-in rules, to the path as the data file writes it, unescaped (since 5.17.0; a pattern that holds a %XX escape is a diagnostic). Since 5.17.0 the patterns are recorded on the run line and an edit is bridged, so it costs no quiet run. Since 5.19.0 the data files record them too (shapeTemplates), so kronikol query interactions --group-by route, the call pairing of diff --body and compare, and kronikol merge read a call under them; kronikol ingest --shape-templates FILE gives an ingested run its own. A pattern that does not compile, or runs past 250 ms, is skipped and reported as a HistoryShapeTemplate diagnostic. Every shard of a sharded run should be given the same rules. See Cross-Run History. Since 3.25.0. |
HistoryDegradedBy |
double |
2.0 |
The pace at or above which a run is degraded: its passing scenarios took this many times their usual. A degraded run is labelled on every history surface, a failure inside one says so, and no slower verdict is read in it or against it; 0 switches it off. Since 3.24.0. |
HistoryPartialThreshold |
double |
0.10 |
The share of the previous run's scenarios a run may lack before it is recorded as partial. Since 3.9.0. |
HistoryPartialRun |
bool? |
null |
Say outright whether the run is partial; null applies the threshold. Since 3.9.0. |
HistoryBranch |
string? |
null |
The branch stream to read the run against. Null: on a pull request build, the branch the pull request targets (GITHUB_BASE_REF on GitHub Actions, SYSTEM_PULLREQUEST_TARGETBRANCH on Azure DevOps); otherwise the run's own branch. An empty string is the run's own branch even on a pull request build; any other value names the stream to read against. The run's own line still records under its own branch. Since 3.12.0, the pull-request default since 3.13.0. |
HistoryCompareBranch |
string? |
null |
A second stream to read the same run against, reported beside the run's own reading on the digest, the pointer and the History section (on main: 1 broke (against 12 earlier runs on main)), which is on the labs page beside the report and in the report's History tab (ShowHistorySection, on by default from 5.0.0). Since 3.12.0. |
HistoryReordered |
bool |
false |
Whether the same calls in a different order is a verdict (reordered); off because parallel steps reorder calls run to run. Since 3.9.0. |
GenerateHistoryFragment |
bool |
true |
Write History.run.json beside the report — the run's own line of history, which kronikol history record folds into the ledger. Since 3.9.0. |
WriteHistoryLedger |
bool? |
null |
Append the run's line to the ledger: null appends when the ledger was named explicitly or the run is not on CI (a CI checkout is discarded; its fragments are what the workflow records); true always; false never. Since 3.9.0. |
EmbedHistoryInReport |
bool |
true |
Whether the history the run read reaches its HTML: the labs page beside the report (GenerateLabsReport), the report's History tab (ShowHistorySection) and each scenario's history in the report (ShowScenarioHistory). false keeps history out of all three; Failures.md, the CTRF document, the console pointer, History.run.json and the ledger are not affected. A run with no ledger to read (history off, or no ledger found) has no history to show either way; one whose ledger file does not exist yet reads it as empty and shows its own first run. Before 4.6.0 it drew a sparkline and verdict pill beside each scenario of every report that read a ledger. Since 3.9.0. |
ShowHistorySection |
bool |
true (false from 3.21.0 to 4.x) |
Give TestRunReport.html a History tab when the run read history: the run's summary line, the trend of the last runs, and the lists of what changed, open in its tab, each scenario linked to its place on the Features tab. Nothing of history is in the features unless ShowScenarioHistory asks. false leaves the tab out. From 3.21.0 to 4.x it was off by default, since it drew the History section above the features, beside the timeline, and a run where nothing changed still had a section saying so. The section is on the labs page beside the report whenever the run read history (GenerateLabsReport, 4.6.0), and the history a run read is still in Failures.md, the CTRF document, the pointer and kronikol query history. Needs EmbedHistoryInReport. Since 3.21.0; the tab and the default since 5.0.0. See [[Cross-Run History › In the HTML |
ShowScenarioHistory |
bool |
false |
Put each scenario's history back in TestRunReport.html: in its header a sparkline of the last runs and a pill for a verdict that is not stable, the data-history-verdicts attribute the search reads for $flaky, $broke and the other verdict operators, and the stylesheet rules and filter code they need. Off by default: since 4.6.0 a default report's features carry no history (from 5.0.0 the run's history is the report's History tab, ShowHistorySection), and the same sparklines and verdicts are on the labs page beside it. Set it to keep the scenario headers 4.5.x drew. Needs EmbedHistoryInReport and a ledger. See Cross-Run History. Since 4.6.0. |
WriteAgentInstructions |
bool |
true |
When true, writes byte-identical CLAUDE.md and AGENTS.md files into the reports directory, telling an AI agent to read Failures.md and use kronikol query rather than open the report. Static text — no scenario names, no captured content — because an instruction file carrying attacker-influenceable text is a prompt-injection channel. Since 3.1.0. From 4.27.1 the rule never to open the data file names the one the run wrote: TestRunReport.xml or TestRunReport.yml when TestRunReportDataFormat is XML or YAML (it named the JSON file whatever the format). |
WriteQueryScript |
bool |
true |
When true, writes query.cs into the reports directory beside a JSON data file (3.32.0): kronikol query for a machine where the tool is not installed and cannot be, such as an AI agent's session that may not install tools or reach the NuGet feed. From the reports directory, dotnet run --file query.cs -- summary . prints what kronikol query summary . prints, because it runs the same engine: the Kronikol that wrote the report, loaded from the test run's output or the NuGet cache. It restores and downloads nothing, and needs the .NET 10 SDK. Never written into a folder a C# project would compile (below one holding a .csproj, outside its bin, its obj and any folder whose name starts with a dot, such as .logs/kronikol/, unless the project leaves the folder out); the run records an OptionNotApplied diagnostic instead. A query.cs Kronikol did not write is left alone. See Querying Reports
|
WriteRunSummaryToConsole |
bool |
true |
When true, the run prints one closing block naming the reports directory, the size of the data file, the failing scenarios and the kronikol query failures command that explains them. Paths, counts, stableIds and scenario names only — never a message, a URI or a body, because CI logs are read far more widely than artifacts. On GitHub Actions a matching ::notice annotation follows. The console is a best-effort channel rather than a guaranteed one: measured on .NET 10, every VSTest-hosted runner under dotnet test swallows what a library writes from a run-end hook, at detailed verbosity too (xUnit v3 through its VSTest adapter, measured again on 2026-10-13), and TUnit's runner suppresses it at any verbosity. A directly run MTP host, kronikol merge and kronikol ingest own their stdout and show it. That is why GenerateFailuresDigest and WriteAgentInstructions write files. On GitHub Actions the job summary is a file the runner reads, so it arrives too; Azure DevOps takes its summary as a logging command on stdout, which dotnet test swallows. Since 3.1.0. |
SetupHighlightColor |
string |
"#F6F6F6" |
Background colour for the setup partition when SeparateSetup and HighlightSetup are both true. |
ExpectedTestCount |
Func<int>? |
null |
When set, report generation is skipped if the actual test count is less than the expected count. Guards against partial test runs overwriting complete specifications. |
A report names each party by the string its calls carry (Caller, Breakfast Provider, Cow Service), and that string
alone does not say whether Cow Service was the real service or a stub standing in for it. From 5.14.0 a run can say so.
new ReportConfigurationOptions
{
ServiceId = "breakfast-provider",
Parties =
[
new PartyDescriptor("Cow Service") { Kind = PartyKind.Double, Note = "WireMock stub" },
new PartyDescriptor("Kafka") { Kind = PartyKind.Real, Note = "Testcontainers" },
],
}-
ServiceIdnames the service the run is about. It goes on the service under test's row, on the history ledger's run line, inRun.json, inFailures.jsonl's header and in the CTRF document'senvironment.appName. - Each
PartyDescriptornames a party by the name its calls carry, matched exactly, with any ofId(a stable id of your own),Kind(Test,UnderTest,Real,DoubleorUnknown) andNote.Realmeans the party's own software answered, a deployed instance or its real image run for the test.Doublemeans anything else answered in its place: a stub, a fake, a recording, a mock handler or a vendor's emulator.
The same rows can live in a file shared by every suite of a repository, .kronikol/parties.json at its root, found as
the history ledger is (or at the path KRONIKOL_PARTIES or PartiesFilePath names):
{
"partiesFormatVersion": 1,
"parties": [
{ "name": "Cow Service", "id": "cow-service" },
{ "name": "Breakfast Provider", "id": "breakfast-provider" }
]
}A suite's own Parties win over the file field by field, so the file can hold the ids and each lane its kinds: the lane
that runs against WireMock declares Cow Service a Double, and the one against the deployed service declares it
Real. A kind is read ignoring case.
What nothing declares is found another way, and the report says how each kind became known:
kindSource |
How |
|---|---|
declared |
in Parties or the parties file |
observed |
Kronikol built the client: the tracking client CreateTestTrackingClient makes from a WebApplicationFactory is the test's, so its caller is the test and whom it calls the service under test. Or the capturers saw it (5.15.0): a party every call to which carries testDouble is a double, which the tracking handler writes for a call a stub handler at the end of its chain answered (5.16.0, [[Tracking Dependencies |
inferred |
from the calls: the caller no service calls is the test, and what it calls, other than a database, a cache, a queue, storage or an AI service, is the service under test |
Anything else is unknown: Kronikol does not guess whether a party is real or a double.
Only a run that declares something writes the table. Its report carries serviceId and parties (see
TestRunReport.json's root fields), and the checks below are written as diagnostics.
The diagrams draw every party by its name alone: from 5.14.0 to 5.16.1 a declared double carried «test double» on its
participant, and from 5.16.2 its kind is in the report data and the query only.
The table lays out the sequence diagrams (5.33.0). Each test's diagram declares the test's parties first (the caller no service calls, then any other party the table holds as the test), then the parties under test, then everyone else in the order of their first call, as before. A scenario that sets up its own stores before it runs the service draws the service second, where it drew the stores first:
before: actor "Caller", database "disk", database "git", participant "app"
after: actor "Caller", participant "app", database "disk", database "git"
Every kind in the table counts, declared, observed or inferred, so ServiceId alone is enough. Only the order moves:
shapes, colours, arrows and notes are drawn as before, and a diagram whose service was already second keeps every byte.
A party the test calls on its way to the service that the table holds as neither, such as an undeclared gateway, stands
right of the service, and its calls to it point left: declare it UnderTest too to keep it in front.
A party under test is never drawn as the test (5.34.1). When a test makes no tracked call of its own (a scenario
a message starts, say), the first caller no service calls is the service itself, and it was drawn as the test's stick
figure. It is now a participant, a box, as a service is (its category's shape where it has one). Where every caller
is also called, the first caller the diagram meets is the stick figure, never a party under test. In every run,
declaring or not, a diagram draws one stick figure at most.
A run that declares nothing writes the same report as before, its diagrams in the order they always had;
kronikol query parties still prints the table it infers (see Querying Reports).
The Service Card (5.21.0) takes its parties from this table when the run declared something, else
from the same inference, so what a run declares here is what its card says of each party.
The checks, each a diagnostic and none of them a failure:
| Diagnostic | When |
|---|---|
PartyNameNearMiss |
a declared name matches no call's name, but would ignoring case or surrounding spaces |
DeclaredPartyNotSeen |
a name declared in Parties that no call carries (a run of only some tests can cause it; the file's unseen names are silent) |
PartyDeclarationConflict |
two declarations of one name disagree, or ServiceId differs from the id declared for the service under test (ServiceId wins), or calls to a party declared Real carry testDouble (5.15.0) |
TestPartyNameInsideHost |
calls a service made while serving the test's request carry the test's name as their caller: its trackers were left at the test's CallerName
|
PartiesFileUnusable, PartyDeclarationInvalid
|
the parties file cannot be read, or a row in it has no name or a kind that is none of the five |
PartyDisagreement |
kronikol merge was given shards that say different things of one party |
Since 3.0.80, every toggle, radio group and stateful <select> in the generated HTML reports has a configurable default start state, set in code alongside the other options. Two layers:
options.TestRunReportToggleDefaults.Details = ReportDetailsState.Expanded; // both reports
options.TestRunReportToggleDefaults.HeadersShown = true; // both reports
options.SpecificationsToggleDefaults.Details = ReportDetailsState.Truncated; // Specifications.html onlyResolution per setting, most specific wins: built-in default ← TestRunReportToggleDefaults (when set) ← SpecificationsToggleDefaults (when set; Specifications.html only). Specifications.html inherits the TestRunReport values automatically unless a property is specifically overridden — unlike the older flat pairs (SpecificationsShowStepNumbers, SpecificationsDataFormat, …), which are independent values.
From 5.0.0 every diagram toggle but Headers starts on, payloads start Truncated at 10 lines, and the dependency filter
starts on ANY (Or). 4.x hid assertion notes, truncated at 40 lines and started the dependency filter
on ALL (And). To open a report as 4.x did, set AssertionsShown to false, TruncateLines to
TruncateLineCount.Lines40 and DependencyFilterMode to FilterCombinationMode.And. 5.0.0 also turned the
report's panels into tabs, so the settings that showed a panel now choose the tab the page opens on
(Migrating to v5: the report).
| Property | Type | Built-in | Seeds |
|---|---|---|---|
Details |
ReportDetailsState? |
Truncated |
BrowserJs only. The Payloads radio (Expanded / Collapsed / Truncated; before 5.0.0 the Details radio, Expand / Collapse / Truncate) at report and scenario level, including the zero-click render. A start other than Truncated hides the line count until Truncated is picked, exactly as clicking does (before 5.0.0 it disabled the truncate-lines dropdowns). |
TruncateLines |
TruncateLineCount? |
Lines10 (Lines40 before 5.0.0) |
BrowserJs only. The line count, "N lines" under the "Payload length" heading (the truncate-lines dropdowns before 5.0.0): one of the dropdown's presets (Lines3 … Lines100; the enum is the single source of truth for the option list, so off-preset values are unrepresentable by design). An undefined cast like (TruncateLineCount)37 fails report generation with an error naming the valid members. |
HeadersShown |
bool? |
false (true before 4.0.0) |
BrowserJs only. The Headers toggle and whether note header lines render. kronikol ingest --headers shown|hidden sets it (3.36.0+). |
AssertionsShown |
bool? |
true (false through 4.x) |
BrowserJs only. The Assertions toggle (emitted only when assertion notes exist). |
StepsShown |
bool? |
true |
BrowserJs only. The Steps toggle (emitted only when step-delimiter bars exist). |
DatabasesShown |
bool? |
true |
BrowserJs only. The Databases toggle (emitted only when database participants exist). |
EventsShown |
bool? |
true |
BrowserJs only. The Events toggle (5.0.0), emitted only when some diagram has a participant drawn as a queue: the calls to and from message brokers (such as Kafka, Event Hubs, Pub/Sub, Service Bus, SQS and SNS) and their payloads. |
SetupShown |
bool? |
true |
BrowserJs only. The Setup toggle (5.0.0), emitted only when some diagram has a setup to take out: a scenario's Setup frame where the report keeps setup apart (SeparateSetup), otherwise everything before its first When step, with the participants only the setup called. |
NotePayloadFormat |
NotePayloadFormat? |
null → flat option |
BrowserJs only. The JSON ⇄ YAML note format, which the Payload format dropdown shows. null falls back to the flat NotePayloadFormat option (which stays the simple both-reports knob); a group value wins when set, the one way the two reports can start in different note formats. |
NoteWidth |
NoteWidthMode? |
Default |
BrowserJs only. The width notes start at. Default is the Wrap state of the Payload width dropdown and Full is Wide (the dropdown read Fit / Full before 3.22.0). Full widens every note to fill its diagram's container on first paint, which changes every diagram's geometry, so it is worth choosing deliberately. The target is measured from the drawn diagram's slack, so it fits the container rather than overflowing it (svg { max-width: 100% } scales an over-wide diagram down, so past the container wider text is smaller text). (3.0.85+) |
FeaturesExpanded |
bool? |
false |
Feature sections start open, and the Features tools' expand button for features starts dimmed, with nothing to do (5.0.0; before, the Expand All Features button was seeded to its flip label). |
ScenariosExpanded |
bool? |
false |
Scenario sections (plain and parameterized) start open, and the expand button for scenarios starts dimmed (5.0.0; before, its button was seeded to its flip label). Opening every scenario on a huge report starts lazy diagram rendering for the viewport immediately: it trades first-paint work for click-free reading. |
DiagramTab |
DiagramTabKind? |
Sequence |
Which view tab (Sequence Diagrams / Activity Diagrams / Flame Chart) a scenario's diagrams start on, honoured where that view exists for the scenario, with the built-in fallback order (sequence, then activity) otherwise. |
ScenarioTimelineVisible |
bool? |
false |
The page opens on the Timeline tab (when duration data exists). Before 5.0.0, the Scenario Timeline panel started visible. When this and ComponentDiagramVisible are both set, the timeline wins. |
ComponentDiagramVisible |
bool? |
false |
The page opens on the Components tab (test run report only, when the report has one). Before 5.0.0, the embedded Component Diagram panel started visible. |
DependencyFilterMode |
FilterCombinationMode? |
Or (And before 5.0.0) |
The Dependencies row's ANY/ALL switch (Or is ANY, a scenario with any of the chosen dependencies), the mode the first filtering uses, what Clear All resets to, and the URL-hash grammar (see below). |
TagFilterMode |
FilterCombinationMode? |
Or |
The Tags row's ANY/ALL switch (Or is ANY), same surfaces (5.0.0). It replaces CategoryFilterMode, which seeded the Categories row's AND/OR mode before 5.0.0. |
FeaturesSummaryOpen |
bool? |
false |
The Features tab opens on its Summary view, the features table (test run report only). Before 5.0.0, the Features Summary table disclosure above the run's summary started open. |
FailureClustersOpen |
bool? |
true |
The Failure Clusters disclosure (at the top of the Features tab from 5.0.0). |
StepsSectionOpen |
bool? |
true |
Every scenario's Steps disclosure. |
DiagramsSectionOpen |
bool? |
true |
Every scenario's diagrams disclosure. |
DiagnosticsOpen |
bool? |
false |
Nothing from 5.0.0: the report diagnostics are the Diagnostics tab, always open in it. Before 5.0.0, the report-diagnostics disclosure (test run report only), inert unless ShowReportDiagnosticsSection rendered the section, which it did not by default from 3.21.0. The labs page's list is always open (4.6.0). |
RulesOpen |
bool? |
true |
Gherkin Rule: sections. |
BackgroundStepsOpen |
bool? |
false |
The separate Background Steps disclosure (only emitted with SeparateBackgroundSteps). Left unset, one holding a failed step starts open; set to false, that one stays closed too (5.28.6). |
RawPlantUmlOpen |
bool? |
false |
The Raw Plant UML disclosure under each diagram image (Server/Local rendering modes only). |
ParameterTableView |
ParameterTableView? |
Flat |
Which example-table view a parameterized group starts on, where both exist. |
InternalFlowTab |
InternalFlowTab? |
Activity |
Which tab the internal-flow Activity / Flame Chart toggles start on (the per-step popup and the whole-test-flow disclosure). The popup data is shared by both HTML files; a Specifications override that differs builds a second copy. |
A setting whose control a given report does not emit — a different rendering mode, no assertion notes, no durations, no component diagram — resolves normally and is simply inert.
-
Defaults govern the initial state only. After any interaction the page state is whatever the interaction leaves, exactly as with the built-ins. Search still collapses non-matching scenarios and force-opens a single match (including its steps and diagrams sections, and the feature and rule round it, if a configured default closed them; until 5.2.0 the feature stayed closed, so on a report whose features start closed the match opened out of sight), and emptying the search closes again what it opened, and nothing else (5.2.0); Clear All does not restore
openstates. There is no "return to configured defaults" button. -
Zero-click rendering follows the seed. The configured state drives the render pipeline itself, not just the
buttons: an
AssertionsShown = falsereport draws no assertion note on first paint. -
URL-hash grammar (changes even for non-adopters, 3.0.80): the hash omits
depmode/tagmodewhen the mode equals the configured default (previously the built-in), and the hash's reader (apply_url_hashfrom 5.2.0,parse_url_hashbefore) accepts both values symmetrically:depmode=ANDandtagmode=OR, previously ignored, are valid, so a deep link from an AND-default report forces AND on an OR-default report. A link with nodepmodetakes the report's configured mode, so a link a default 4.x report wrote for AND (it wrote nodepmode) opens on OR in a default 5.0.0 report. Before 5.0.0 the category filter's mode wascatmode; a link that carries it, and notagmode, sets the tag mode. Clear All resets the modes to the configured defaults, never to hard-coded AND/OR, and from 5.10.0 both rows to two-way chips (tagstates=3anddepstates=3in a link are a row the reader turned three-way). Since 3.1.0 a#scenario-/#sid-anchor may lead the hash (#sid-<id>&status=Failed); filter rewrites and Clear All both preserve it. The search writesq=beside the filters. From 5.2.0tab=andview=name the place, each written only where it differs from the configured start tab and view (the Features tab and the Full view, with a scenario's anchor), and from 5.11.0type=,in=,s=,o=andp=name the Search tab's state andhit=the match a search result went to. See Generated Reports › Deep links. -
Deep search vs seeded-hidden diagram content: the search index is generation-time and state-independent, so a
hit can land on content a seeded state strips from the rendered diagram (e.g. database notes with
DatabasesShown = false), as it can on hidden assertion notes, which stay searchable. The toggle that re-reveals the content is the one named by the setting. From 5.11.0 a search result's line that leads to such content turns that toggle on for its scenario alone, and a line under the diagram's view tabs says so (Search and Filter Syntax › The search and its results). -
Merged reports (
kronikol merge) resolve toggle defaults from the merge-time options record, like every other option on the merge path. -
Firefox form restoration: every seeded control keeps
autocomplete="off"(the 3.0.68 rule), so what a control reads is always what the report is doing.
var options = new ReportConfigurationOptions
{
TestRunReportToggleDefaults =
{
AssertionsShown = false, // both reports hide assertion notes, as 4.x did
DependencyFilterMode = FilterCombinationMode.And
},
SpecificationsToggleDefaults =
{
Details = ReportDetailsState.Expanded, // Specifications.html only
ScenariosExpanded = true // Specifications.html only
}
};TestRunReport.html starts truncated, with assertions hidden and AND dependency filtering; Specifications.html
starts fully expanded with everything else inherited.
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