Setup the LivingDocPlugin

Installation

Add the SpecFlow.Plus.LivingDocPlugin NuGet package to your SpecFlow project.

Configuration

LivingDoc Generator configuration options have a default setting. Simple SpecFlow projects may not require any further configuration.

livingDocGenerator

Use this section to extend your specflow.json with LivingDoc Generator configuration.

Attribute Value Description
enabled true/false Determines whether SpecFlow should generate the json file.
Default: true
filePath absolut /relative path The path of the generated json. Can be absolute or relative path to the TestAssembly.
Default: FeatureData.json (in the same folder as the TestAssembly)

specflow.json example:

{
  "livingDocGenerator": {
    "enabled": true,
    "filepath": "FeatureData.json"
  }
}