SpecFlowOSS / SpecFlow

#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
https://www.specflow.org/
Other
2.22k stars 752 forks source link

Generate Sepcflow_LivingDoc in Visual Studio without using CLI #2647

Closed pro-pintuyadav closed 1 year ago

pro-pintuyadav commented 1 year ago

SpecFlow Version

3.9.74

Which test runner are you using?

xUnit

Test Runner Version Number

Specflow.xUnit 3.9.74

.NET Implementation

.NET 6.0

Project Format of the SpecFlow project

Sdk-style project format

.feature.cs files are generated using

SpecFlow.Tools.MsBuild.Generation NuGet package

Test Execution Method

Visual Studio Test Explorer

SpecFlow Section in app.config or content of specflow.json

No response

Issue Description

Generating LivingDoc required a CLI tools to install in system and use a "livingdoc" command to generate LivingDoc.html. Is there any setting/plugin to generate LivingDoc.html direct from Visual Studio?

Steps to Reproduce

Add scenarios in feature file.

Link to Repro Project

No response

SabotageAndi commented 1 year ago

No there is not. All the logic to create the HTML file is within the CLI tool.

The idea is that this is generated by a CI pipeline and not when you do your normal test runs during development.

pro-pintuyadav commented 1 year ago

Thanks @SabotageAndi for clarification.

SabotageAndi commented 1 year ago

Sure.

github-actions[bot] commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.