Repository navigation
Migrating to v5 Report
Kronikol 5.0.0 redraws the HTML report: a light and a dark theme on colour tokens, a run band in place of the header row, a filter box with rows of chips, and tabs where 4.x had toolbar toggles, panels and disclosures. A report opens as before and a 4.x link still works, but a stylesheet, a script or a browser test written against 4.x's markup may need changing, and some settings now mean something else. Generated Reports › Report Features describes the 5.0.0 report and Report Themes its tokens. Labels and categories, which became tags, have a page of their own: Migrating to v5: tags. Migrating to v5 lists every 5.0.0 change, with the settings that keep the 4.x behaviour.
| 4.x | 5.0.0 | |
|---|---|---|
| Colours | fixed colours on each rule, one theme | tokens (--kron-* for the page, --dg-* for its diagrams), each with a light and a dark value; the page follows the system's setting until the reader picks a theme with the switch at the right of the title |
| The report's sections | Scenario Timeline and Component Diagram toolbar toggles, and History and Report diagnostics sections above the features | the Features, Timeline, Components, History and Diagnostics tabs of a report bar that pins to the top of the window on a desktop |
| The run summary | a header row: the pie chart, the Test Execution Summary table and the CI table | the run band: the ring, the summary as labelled figures and the CI details, in one card |
| The features table | the Features Summary disclosure above the run summary | the Summary view of the Features tab, beside the Full view of the feature cards |
| Expand and collapse | Expand All buttons whose labels flipped | a pair of icon buttons for features and a pair for scenarios, dimmed while they have nothing to do |
| Happy paths | a Happy Paths Only toggle | Show, Only or Hide |
| The filter rows | always open on a desktop; OR/AND switches; a dependency button on or off | folded under More filters on a desktop (from 5.11.0 the filter box is hidden until the report bar's Filters opens it, every row showing); ANY/ALL switches; a chip goes off, has, has not |
| A scenario's diagram toolbar | the view toggles and the payload controls on one bar | the views as tabs on a bar of their own, and the payload controls behind a gear |
| Payload controls | the Details radio (Expand, Collapse, Truncate) and labels such as "Databases Shown" | Payloads (Expanded, Collapsed, Truncated), and toggles that say their word alone, with aria-pressed
|
| 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) |
| History in the report | none by default (the History section from 3.21.0, the rest from 4.6.0) | the History tab, on by default; each scenario's history still only with ShowScenarioHistory
|
| Diagnostics in the report | none by default (from 3.21.0) | the Diagnostics tab, on by default |
| The labs page | no script, 4.x's colours | the report's theme, with the theme's two scripts |
- Every colour of the report is a token. Set the tokens in
CustomCss: the light values on:root, the dark values on:root[data-theme="dark"]and again on:root:not([data-theme])underprefers-color-scheme: dark(Report Themes › Restyling a report with its tokens). - A sheet written against 4.x's rules or colours may no longer apply where 5.0.0 changed the markup: the features and their steps, the failure diff, the parameter table, the run band, the filter rows and the payload controls. Where it still applies it paints the same colours in both themes, so its light colours stay on a dark page. Set the tokens instead.
- These classes are gone:
.header-row,.test-execution-summary,.summary-chart,.ci-chart-groupand.ci-metadata(the run band replaced them);.features-summary-details;.collapse-expand-all;.happy-path-toggleand.happy-path-active; andsvg.history-chart-svgwithhistory-bar-pass,history-bar-fail,history-bar-durationandhistory-bar-partial: the pass rate is a ring per run now, and the duration trend is drawn as HTML bars (.history-bars,.history-bar). The Categories row's classes went with the row (Migrating to v5: tags › The report). -
.status-toggle,.percentile-btn,.dependency-toggleand.dep-mode-togglekeep their names under new rules, so a 4.x rule for them may no longer apply. -
Stylesheets.VioletThemeStyleSheet, the Specifications report's default sheet, sets the colour tokens for the light and the dark theme, and keeps 4.x's solid violet, with white on it, for a chosen control, the passed step and the back-to-top button. A sheet built on the 4.x constant's rules sets the tokens instead (Report Themes › The violet theme).
- From 5.6.0 the file is a small page that decodes the report and puts it in its place with
document.open(Generated Reports › The compressed page), so the file's ownloadcomes before the report is there. A test that opens it waits forwindow.__kronikolReady === truebefore it reads the page, and an init script's listeners do not survivedocument.open: poll the flag, or add the listener afterDocument.prototype.openruns. A test that reads the file's text reads the plain page,HtmlReportFile.ReadPlain(path). - These page functions are gone:
toggle_timelineandtoggle_component_diagram(click the tab,button.report-tab[data-tab="timeline"]or[data-tab="components"]);toggle_expand_collapse(thebutton.fold-btnpairs);toggle_happy_pathsandfilter_happy_paths(thebutton.happy-segbuttons);toggle_dependency(the chips and switches answer one delegated handler, so click the chip); andtoggle_examples_detail, which every 4.x report carried and nothing in it called.filter_categories,toggle_cat_modeandtoggle_categorywent with the Categories row. - The timeline, the component diagram, the History section and the diagnostics are in tab panels that stay hidden until their tab is chosen. A test that checks one of them is visible selects its tab first.
- From 5.11.0 the filter box is hidden until the report bar's Filters (
button.nav-filters-toggle) opens it, with every row showing, so a test that uses a row's control presses Filters first. From 5.0.0 to 5.10.x the rows were folded under More filters on a desktop, withrows-foldedon the box, and a test pressedbutton.more-filters; both are gone. - The filter field is
#searchbar, inspan.search-fieldon the filter box's first line, and narrows the Features list as it is typed (q=in the link). 5.11.0 took it away and ran the search through it; from 5.12.0 it is back in the box, so a test that filters presses Filters, types into#searchbarand presses Enter. The search is another thing (5.11.0): it is typed into the query builder,#search-input, which the search button or/opens, runs on Enter to the Search tab, hides nothing, and issearch=in the link andsearch_query()in a script (5.12.0). - A scenario's payload controls are behind its gear:
button.scenario-settings-gearopensdiv.scenario-settings, whose bar isdiv.diagram-toggle.diagram-options-bar, and the view tabs arediv.diagram-toggle.diagram-toggle-tabs. A section showing another view carriesdiagrams-not-seq, and a section with no sequence diagram has no payload controls. On a phone,button.scenario-diagram-controls-toggle.gear-in-summaryon the diagrams' title replaces 4.x's "Diagram Settings" button. - A toggle's label is its word alone (Headers, Assertions, Steps, Databases, Events, Setup), and its state is in
aria-pressedanddata-shown: a test that looked for "Databases Shown" readsaria-pressed. Each label sits inspan.btn-label. The Details radio reads Payloads, and its line count shows only while Truncated is picked. - A filter row's switch reads ANY or ALL and keeps AND or OR in
data-mode, which the link writes as before. A chip carriesaria-pressed(true,mixedorfalse) anddependency-activeordependency-exclude. - The CI details lose their colons (
Build #:and42areBuildand#42), and the hidden Kronikol Version row is gone: the version is in the page'sgeneratormeta. - A note's buttons are named in
data-note-btn;truncate,truncate-bottom,collapse-bottomandexpand-bottomare new. - Whenever the scenarios shown change, the page raises
kron-filter-changeon the document, with{ shown, total }in itsdetail, which a test can wait for.
-
ReportToggleDefaults(Report Configuration › Toggle Default Start States):-
AssertionsShowndefaults totrue(4.x:false),TruncateLinestoTruncateLineCount.Lines10(4.x:Lines40), andDependencyFilterModetoFilterCombinationMode.Or(4.x:And). Set the three back to open a report as 4.x did. -
ScenarioTimelineVisibleandComponentDiagramVisiblechoose the tab the page opens on, the Timeline when both are set, where they showed a panel. -
FeaturesSummaryOpenopens the Features tab on its Summary view, where it opened the Features Summary disclosure. -
FeaturesExpandedandScenariosExpandedstill open the sections, and start the matching expand button dimmed, where they seeded its label. -
DiagnosticsOpenhas nothing left to open: the Diagnostics tab is always open. -
EventsShownandSetupShownare new, bothtrueby default. -
CategoryFilterModeisTagFilterMode.
-
-
ShowHistorySectionandShowReportDiagnosticsSectiondefault totrue(falsefrom 3.21.0 to 4.x): a run that read history has a History tab, and one that recorded a diagnostic has a Diagnostics tab with their count on it.ShowScenarioHistorystaysfalse. Set the two tofalsefor a report without the tabs; the labs page beside the report carries both either way.kronikol mergerenders with the defaults, so a merge given--historyhas a History tab, and one whose shards recorded a diagnostic a Diagnostics tab. -
kronikol ingestshows the Diagnostics tab by default.--no-diagnostics-sectionleaves it out, and--diagnostics-sectionis still taken, so a 4.x command line runs unchanged. -
ComponentDiagramOptions.Titleheads the Components tab under every renderer, and the drawing leaves it out;ComponentDiagram.htmlstill draws it.
- A link copied from a 4.x report opens the same view, except one that chose dependencies and has no
depmode: it meant AND, and in a default 5.0.0 report it means OR. A report whose old links should keep AND setsDependencyFilterMode = FilterCombinationMode.And, or a link can saydepmode=AND. -
hp=1still opens on happy paths Only, and a link that chose(no interactions)opens on No dependencies. - 5.0.0 adds
depx=,hpx=1,tags=,tagx=andtagmode=, and 5.10.0tagstates=3anddepstates=3, a row the reader turned three-way: from 5.10.0 a chip row starts two-way, a chip on or off, and a link that leaves a chip out (tagx=,depx=,hpx=1) opens its row three-way. 5.11.0 addstab=search,type=,in=,s=,o=,p=andhit=, the Search tab's state and the match a search result went to; a link withq=and notab=opens the tab it opened before, filtered as before. The display settings are not in the link: each load starts them from the report's settings (Generated Reports › Deep links).
- Assertion notes are drawn from the first render, and payloads are cut at 10 lines.
- A service is drawn as a box:
DependencyPalette.GetSequenceShape(DependencyType.HttpApi)returnsparticipant, where it returnedentity. Databases are deep cyan,#0E7C86where they were#E74C3C, andDependencyColorsstill overrides it. Where the page draws a diagram, a step bar is a flat band in the step colour (--dg-step) with its label in bold, in place of the black hexagon. - The ring reads 100% only when every scenario passed (4.x rounded 213 passed of 214 up to 100%), and a scenario skipped after an earlier failure counts as skipped in the summary and the ring.
- The parameter table's rows are not tinted by their status, and the failure diff's labels read Expected and Actual, without a colon.
- A bypassed scenario's timeline bar is blue, as the ring draws it (orange in 4.x).
- A scenario whose diagram makes no call has no dependency: it is under No dependencies.
- A collapsed payload's one-line preview leaves out a JSON body's braces.
- A duration of an hour or more reads in hours (
1h 5m, where it read65m 0s). - A run whose calls give the component diagram no connection has no Components tab, where 4.x drew the title alone.
-
Specifications.htmlis dark and violet in the dark theme, and has the report bar, with the Features and Timeline tabs, whenever its scenarios carry durations; from 5.11.0 it always has the bar, with the Features tab alone where they carry none.
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