Generating LivingDoc using CLI¶
SpecFlow+LivingDoc Generator allows you to generate a local or self-hosted HTML of your Gherkin Feature Files without the need of Azure DevOps. You also have the option to generate documentation with or without test results.
Generation excluding test results¶
In order to generate your living documentation without test execution results, you need to:
Generation including test results¶
In order to generate your living documentation with test execution results, you need to:
Build your project.
Run your tests. This will generate a TestExecution.json next to your TestAssembly which is needed in the next step.
Install the command line tool
Execute the command line tool and make sure to pass the test execution JSON files to the CLI.