Search code examples
specflow

'livingdoc' is not recognized as an internal or external command, operable program or batch file


I have already run dotnet tool install --global SpecFlow.Plus.LivingDoc.CLI to install specflow livingdoc.

enter image description here

then I run the command below:

enter image description here

But when I run livingdoc test-assembly SpecFlowDemo.dll -t TestExecution.json, I got this error 'livingdoc' is not recognized as an internal or external command, operable program or batch file.

enter image description here

and when I again dotnet tool install --global SpecFlow.Plus.LivingDoc.CLI, it shows below:

enter image description here


Solution

  • Solved already after I run cmd as administrator.