[SpecFlow+LivingDoc] in Azure DevOps. The Analytics Tab is not showing anything.
I have tried to add my own TestExecution.json to the project and with the following step in azure:
# Run specflow living documentation
- task: SpecFlowPlus@0
displayName: Run Specflow Living Documentation
inputs:
projectFilePath: 'WebApi/XXXX.IntegrationTests'
projectName: 'XXXX.IntegrationTests'
projectLanguage: 'en'
testExecutionJson: '$(Build.SourcesDirectory)/WebApi/XXXX.IntegrationTests/TestExecution.json'
I have removed our project name and replaced it with XXXX.
0
-
Normally the TestExecution.json is generated in the Output Directory, which would be something like bin\Debug\net* or bin\Release\net*.
Did you configure a different path in specflow.json for it?
0 -
I removed specflow.json and it worked. Thanks
0 -
Hmm, strange. What was the content of your specflow.json?
0 -
{
"livingDocGenerator": {
"enabled": true,
"filePath": "FeatureData.json"
}
}0 -
You have FeatureData.json as filepath configured, but TestExecuton.json as input. That can't work. ;-)
0
Please sign in to leave a comment.
Comments
5 comments