简体   繁体   中英

How to make specflow scenarios visible to others without using visual studio

I was wondering if there is a way to make visible to other peers the scenarios we have in our feature files without them using visual studio. For example:does specflow has a library or an option that can generate a document for us with a list of all the scenarios. The goal is to have some type of documentation other teams can review and see all the scenarios we have in our features. We don't want then to install and setup visual studio. We also don't want them to have access to the entire program.

We had the same approach as part of the build pipeline.

We had a PowerShell script that converted *.feature files to markdown files. (feature files are actually just text files so you can just rename them)

And then it converted *.md files to pdf files using md-to-pdf

So as a result of each of your CI build you will have an archive with *.pdf files that you can share.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM