LivingDocGen.Reqnroll.Integration
3.0.0
dotnet add package LivingDocGen.Reqnroll.Integration --version 3.0.0
NuGet\Install-Package LivingDocGen.Reqnroll.Integration -Version 3.0.0
<PackageReference Include="LivingDocGen.Reqnroll.Integration" Version="3.0.0" />
<PackageVersion Include="LivingDocGen.Reqnroll.Integration" Version="3.0.0" />
<PackageReference Include="LivingDocGen.Reqnroll.Integration" />
paket add LivingDocGen.Reqnroll.Integration --version 3.0.0
#r "nuget: LivingDocGen.Reqnroll.Integration, 3.0.0"
#:package LivingDocGen.Reqnroll.Integration@3.0.0
#addin nuget:?package=LivingDocGen.Reqnroll.Integration&version=3.0.0
#tool nuget:?package=LivingDocGen.Reqnroll.Integration&version=3.0.0
LivingDocGen.Reqnroll.Integration
LivingDocGen.Reqnroll.Integration automatically generates living documentation for Reqnroll test projects. After dotnet test completes, it creates an interactive HTML report from your feature files and test results.
Installation
.NET CLI
dotnet add package LivingDocGen.Reqnroll.Integration
Package Manager Console
Install-Package LivingDocGen.Reqnroll.Integration
PackageReference (optional)
<PackageReference Include="LivingDocGen.Reqnroll.Integration" Version="3.0.0" />
Quick Start
- Add a bridge file in your test project at
Hooks/LivingDocGenBridge.cs:
using Reqnroll;
using LivingDocGen.Reqnroll.Integration.Bootstrap;
namespace YourTestProject.Hooks
{
[Binding]
public class LivingDocGenBridge
{
[BeforeTestRun(Order = int.MinValue)]
public static void BeforeAllTests() => LivingDocBootstrap.BeforeTestRun();
[AfterTestRun(Order = int.MaxValue)]
public static void AfterAllTests() => LivingDocBootstrap.AfterTestRun();
}
}
- Run tests:
dotnet test
The package generates living-documentation.html in the test project root.
Features
- Automatic report generation after test runs
- Detached Worker process for reliable post-test generation
- Scalable chunked output (default) for large test suites
- Support for TRX, NUnit XML, xUnit XML, and SpecFlow JSON test results
- Interactive HTML report with search, status filtering, and themes
- Works with
dotnet test, Visual Studio Test Explorer, and CI pipelines
Configuration
Configuration is optional. If needed, add livingdocgen.json next to your .csproj:
{
"featurePath": "Features",
"testResultsPath": "TestResults",
"outputPath": "living-documentation.html",
"title": "My Project - Living Documentation",
"theme": "blue"
}
Essential options:
featurePath: feature directory pathtestResultsPath: test result directory pathoutputPath: output file pathtitle: report titletheme:purple,blue,green,dark,light,pickles
Optional test format override:
{
"testResults": {
"format": "nunit"
}
}
Supported format values: trx, nunit, xunit, junit, specflow, all.
Compatibility
- .NET: 8.0+
- Reqnroll: 3.3.2+
- Gherkin: 35.0.0
- Platforms: Windows, macOS, Linux
Supported frameworks:
- NUnit 2/3:
.xml - NUnit 4 / MSTest:
.trx - xUnit:
.xml - SpecFlow:
.json
Documentation
- Full documentation: https://github.com/suban5/LivingDocGen
- Bridge setup guide: https://github.com/suban5/LivingDocGen/blob/main/docs/BRIDGE_SETUP.md
- Package changelog: https://github.com/suban5/LivingDocGen/blob/main/src/LivingDocGen.Reqnroll.Integration/CHANGELOG.md
License
MIT: https://github.com/suban5/LivingDocGen/blob/main/LICENSE
| 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 was computed. 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 was computed. 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. |
-
net8.0
- Reqnroll (>= 3.3.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.