How to generate livingdoc report for specific tag
Hello, I am specflow for my project and it is fantastic.
My issue is:
I ran a scenarios with "Smome" tag. Execution completed and generated a livingdoc report using below command
D:\<project folder>\bin\Debug\netcoreapp3.1>livingdoc test-assembly <project name>.dll -t TestExecution.json"
LivingDoc report has been generated.
When I see the report,
- It included all the features
- Analytics tab - It is showing all the features / Scenarios / Steps data.
Is there any way, we can show report with specific tag report like Smoke Test repot.
It should show only smoke test related feature files and show in analytics as well
Can you please help on this.
-
Hello, I am not aware of any function provided by SpecFlow for this purpose.
There is, however, a great blog post detailing one approach to achieve what you have requested:
Improving Teamwork with SpecFlow LivingDoc
You will find the relevant info in the 'Modifying SpecFlow+ LivingDoc Data' section, with the following link to a powershell script:
https://github.com/AndyLPK247/SpecFlowPlusLivingDocScripts/blob/main/RemoveSkippedScenarios.ps1
0 -
Kiran Kumar out of the box there is no feature for your usecase.
But the approach in the blog post should still work. If not, please let me know.
0
Please sign in to leave a comment.
Comments
2 comments