Version number:
packages.config<PackageReference> tagsSpecFlow.Tools.MsBuild.Generation NuGet packageSpecFlowSingleFileGenerator custom toolEnable SpecFlowSingleFileGenerator Custom Tool option in Visual Studio extension settings<Major>.<Minor>.<Patch> {
"language": { "feature": "en" },
"bindingCulture": { "name": "en" },
"livingDocGenerator": {
"enabled": true,
"filepath": "TestExecution.json"
}
}
After the recent update test results are no longer shown in the generated LivingDoc HTML file when referencing Features folder.
This shows all scenarios and steps as "not executed":
livingdoc feature-folder .\Tests.Acceptance\Features -t .\Tests.Acceptance\binDebug\net5.0\TestExecution.json
This (assembly reference) is working OK using the same TestExecution.json file:
livingdoc test-assembly .\Tests.Acceptance\binDebug\net5.0\Tests.Acceptance.dll -t .\Tests.Acceptance\binDebug\net5.0\TestExecution.json
Presumably the same issue also affects an ADO extension. Test results were showing OK in a demo project before the Dec 17th extension's update to version 0.6.672.
Extension's "task" does not have an option to reference test assembly, which makes this issue a blocker there.
Use livingdoc CLI (3.5.186+g73f000b344) to create a report with test results using reference to Features folder.
If you want to see the Test Execution results with the feature-folder argument you have to provide the Test Project Root folder and not a subfolder.
So in your case instead of .\Tests.Acceptance\Features you should use .\Tests.Acceptance
We are going to update our documentation and will try to provide some warnings when the configurations are not matching.
Confirmed working with the project's root path instead of direct path to Features!
We've added a warning message to the UI - as a first step - in the latest version 3.5.279. We plan to further improve this and improve the detection of this misconfiguration issues in the future.
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.