TestTrackingDiagrams 2.0.159-beta
See the version list below for details.
dotnet add package TestTrackingDiagrams --version 2.0.159-beta
NuGet\Install-Package TestTrackingDiagrams -Version 2.0.159-beta
<PackageReference Include="TestTrackingDiagrams" Version="2.0.159-beta" />
<PackageVersion Include="TestTrackingDiagrams" Version="2.0.159-beta" />
<PackageReference Include="TestTrackingDiagrams" />
paket add TestTrackingDiagrams --version 2.0.159-beta
#r "nuget: TestTrackingDiagrams, 2.0.159-beta"
#:package TestTrackingDiagrams@2.0.159-beta
#addin nuget:?package=TestTrackingDiagrams&version=2.0.159-beta&prerelease
#tool nuget:?package=TestTrackingDiagrams&version=2.0.159-beta&prerelease
TestTrackingDiagrams
Effortlessly autogenerate PlantUML sequence diagrams from your component and acceptance tests. Tracks interactions between your test caller, your Service Under Test (SUT), and its dependencies — including HTTP calls, Azure Cosmos DB operations, SQL queries (via EF Core), Redis commands, events/messages, and arbitrary method calls — then converts them into diagrams embedded in searchable HTML reports and structured data files.
Example Output
Each test that uses tracked dependencies automatically produces a sequence diagram showing the full request/response flow between services.
How It Works
- Intercept — Dedicated tracking mechanisms intercept each type of dependency:
TestTrackingMessageHandlerfor HTTP,CosmosTrackingMessageHandlerfor Cosmos DB,SqlTrackingInterceptorfor EF Core SQL,RedisTrackingDatabasefor Redis,TrackingProxy<T>for arbitrary interfaces, andMessageTrackerfor events/messages. - Collect — All logged entries are held in the static
RequestResponseLogger, capturing operation details, service names, and trace IDs. - Generate — At the end of the test run,
PlantUmlCreatorgroups logs by test ID and converts them into sequence diagram code. - Report —
ReportGeneratorcombines the diagrams with test metadata to produce HTML reports and structured data files.
Quick Start
dotnet add package TestTrackingDiagrams.xUnit3
See the Quick Start guide for full setup instructions.
Supported Frameworks
| Framework | Package |
|---|---|
| Core library | TestTrackingDiagrams |
| xUnit v3 | TestTrackingDiagrams.xUnit3 |
| xUnit v2 | TestTrackingDiagrams.xUnit2 |
| NUnit v4 | TestTrackingDiagrams.NUnit4 |
| MSTest v3 | TestTrackingDiagrams.MSTest |
| TUnit | TestTrackingDiagrams.TUnit |
| BDDfy | TestTrackingDiagrams.BDDfy.xUnit3 |
| LightBDD | TestTrackingDiagrams.LightBDD.xUnit3 / .xUnit2 / .TUnit |
| ReqNRoll | TestTrackingDiagrams.ReqNRoll.xUnit3 / .xUnit2 / .TUnit |
Extensions
| Extension | Package |
|---|---|
| Azure Cosmos DB | TestTrackingDiagrams.Extensions.CosmosDB |
| EF Core (Relational) | TestTrackingDiagrams.Extensions.EfCore.Relational |
| Redis | TestTrackingDiagrams.Extensions.Redis |
| Local PlantUML (IKVM) | TestTrackingDiagrams.PlantUml.Ikvm |
Use Cases
- Debugging failed tests — see the exact interaction that returned an unexpected result
- Living documentation — HTML reports and data files that stay in sync with your tests
- AI-assisted analysis — feed deterministic PlantUML to AI tools for accurate reasoning
- PR reviews — sequence diagrams make interaction changes immediately visible
- Onboarding — new team members can browse reports to understand service interactions
- CI integration — surface results in GitHub Actions / Azure DevOps job summaries
Documentation
For full documentation, see the Wiki.
Key pages:
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.AspNetCore.Mvc.Testing (>= 10.0.5)
-
net8.0
- Microsoft.AspNetCore.Mvc.Testing (>= 8.0.25)
-
net9.0
- Microsoft.AspNetCore.Mvc.Testing (>= 9.0.14)
NuGet packages (19)
Showing the top 5 NuGet packages that depend on TestTrackingDiagrams:
| Package | Downloads |
|---|---|
|
TestTrackingDiagrams.PlantUml.Ikvm
Local PlantUML rendering via IKVM for TestTrackingDiagrams. Generates diagrams without requiring a remote PlantUML server. |
|
|
TestTrackingDiagrams.NUnit4
NUnit 4 extensions for tracking service interactions (HTTP, database, cache, events, and more) in your tests and converting them into PlantUML sequence diagrams. This is the renamed successor to TestTrackingDiagrams.NUnit3. |
|
|
TestTrackingDiagrams.BDDfy.xUnit3
BDDfy + xUnit v3 extensions for tracking service interactions (HTTP, database, cache, events, and more) in your tests and converting them into PlantUML sequence diagrams. |
|
|
TestTrackingDiagrams.xUnit3
xUnit v3 extensions for tracking service interactions (HTTP, database, cache, events, and more) in your tests and converting them into PlantUML sequence diagrams. |
|
|
TestTrackingDiagrams.xUnit2
xUnit v2 extensions for tracking service interactions (HTTP, database, cache, events, and more) in your tests and converting them into PlantUML sequence diagrams. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.169-beta | 0 | 4/20/2026 |
| 2.0.168-beta | 0 | 4/20/2026 |
| 2.0.167-beta | 0 | 4/20/2026 |
| 2.0.166-beta | 0 | 4/20/2026 |
| 2.0.165-beta | 0 | 4/20/2026 |
| 2.0.164-beta | 0 | 4/20/2026 |
| 2.0.163-beta | 0 | 4/20/2026 |
| 2.0.162-beta | 0 | 4/19/2026 |
| 2.0.161-beta | 3 | 4/19/2026 |
| 2.0.160-beta | 22 | 4/19/2026 |
| 2.0.159-beta | 27 | 4/19/2026 |
| 2.0.158-beta | 23 | 4/19/2026 |
| 2.0.157-beta | 25 | 4/19/2026 |
| 2.0.156-beta | 25 | 4/19/2026 |
| 2.0.155-beta | 29 | 4/19/2026 |
| 2.0.154-beta | 43 | 4/18/2026 |
| 2.0.153-beta | 33 | 4/18/2026 |
| 2.0.152-beta | 46 | 4/18/2026 |
| 1.26.0 | 318 | 4/3/2026 |