SpecFlow+ Living Doc multiple pipelines on same repo
I am trying out Living Doc. I have multiple pipelines that consumes the same repository. So I run the SpecFlowPlus task multiple times where I differentiate the projectNames.
I see that the projects are not combined. Only the last pipeline is returning results to the UI of Living Doc. Am I doing something wrong or isn't this a feature?
Are you generating the document in the same folder?
The LivingDoc.html file generated will overwrite (not combine with) any file that is previously there.
I believe this is by design, as you would want to refresh your data in that document.
I would suggest running different commands when generating for different projects that would allow you to specify different outputs for those projects.0
This behavior is by design for SpecFlow+ LivingDoc for Azure DevOps.
To generate multiple different Living Documentations for the same repository, you need to use the SpecFlow+ LivingDoc Generator (https://docs.specflow.org/projects/specflow-livingdoc/en/latest/sbsguides/sbscli.html)0
That's a real pitty. The reason why I am saying this is because in this case you make a hard one-repo to one-pipeline relationship. It is quite common that in one repo there are multiple application components being build and deployed.
Maybe it is a nice thing to remove this one-to-one relationship and that the LivingDoc UI Extension can pickup LivingDoc-*.html. In this case you create one top level hierarchy0
Please sign in to leave a comment.