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.25k stars 754 forks source link

Documentation request: How to show more than one living docs under the same azure devops project in case of a monorepo #2768

Open kostas-kapasakis opened 1 month ago

kostas-kapasakis commented 1 month ago

Product:

What is missing: How can we utilize the yaml parameters for the SpecflowPlus build task to run the plugin in more than one test projects under the same repository and all of them being shown in the living doc plugin in the same azure devops project ?

Currently each result overrides the previous and only one is shown a time.

image

Our yaml pipelines are running following task

          - task: techtalk.techtalk-specflow-plus.specflow-plus.SpecFlowPlus@0
            displayName: 'SpecFlow+ build step.'
            inputs:
              generatorSource: TestAssembly
              testAssemblyFilePath: ${{ parameters.api_tests_project_dll_path }}
              projectName: ${{ parameters.application_name }}
              output: 'LivingDoc/${{ parameters.application_name }}.json'

Thanks in advance.

DeLaphante commented 2 weeks ago

I would advised all to not use Specflow+ Runner or LivingDoc as its currently not being supported or developed - migrate to MsTest or Nunit and also update to latest .net 8+ and use third party reporting libraries such as extent report.

Specflow is working perfectly fine for me with the above changes in the following daily github actions repo -> https://github.com/DeLaphante/CynkyAutomation/actions