-
Notifications
You must be signed in to change notification settings - Fork 1
Example Project
aryehcitron@gmail.com edited this page May 17, 2026
·
8 revisions
The examples/Example.Api folder contains a complete working example:
-
src/Example.Api— A simple dessert provider API withCakeController,EggsController,FlourController,MilkController. TheCakeControlleralso publishes aCakeCreatedEventviaIEventPublisher, demonstrating non-HTTP interaction tracking. -
fakes/— In-memory HTTP fakes for downstream dependencies (Cow Service) and aFakeEventPublisherthat usesMessageTrackerto log event-publish calls so they appear in sequence diagrams. -
tests/— Test projects demonstrating every supported framework:-
Example.Api.Tests.Component.Shared— Shared test setup, fakes, and helpers used by all framework-specific test projects -
Example.Api.Tests.Component.xUnit3— Plain xUnit v3 -
Example.Api.Tests.Component.xUnit2— Plain xUnit v2 -
Example.Api.Tests.Component.BDDfy.xUnit3— BDDfy + xUnit v3 -
Example.Api.Tests.Component.ReqNRoll.xUnit2— ReqNRoll + xUnit v2 -
Example.Api.Tests.Component.ReqNRoll.xUnit3— ReqNRoll + xUnit v3 -
Example.Api.Tests.Component.ReqNRoll.TUnit— ReqNRoll + TUnit -
Example.Api.Tests.Component.LightBDD.xUnit2— LightBDD + xUnit v2 -
Example.Api.Tests.Component.LightBDD.TUnit— LightBDD + TUnit -
Example.Api.Tests.Component.NUnit4— NUnit -
Example.Api.Tests.Component.TUnit— TUnit
-
To run the examples:
cd examples/Example.Api
dotnet testThen browse to tests\<project>\bin\Debug\net10.0\Reports\ to view the generated reports.
Note: For the BDDfy integration, diagrams are also injected into the standard BDDfy-produced HTML report (
BDDfy.html), in addition to the Kronikol reports.
Getting Started
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
Extensions
- Integration AtlasDataApi Extension
- Integration BigQuery Extension
- Integration Bigtable Extension
- Integration BlobStorage 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
- Search 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
- Diagnostics and Debugging
- CI Summary Integration
- CI Artifact Upload
Reference