I created new (virt_env) and installed allure-behave by using command: pip install allure-behave
.
To verify it installed I use pip list
command:
When I run my automation tests I see allure-results folder with JSON files:
But when I'm trying to generate report by running command allure generate
I see error:
allure-behave : The term 'allure-behave' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
How to fix it?
I followed instructions from Allure WebSite
When I'm trying to run allure-behave --version
I have same error:
I'm not sure if it matters but I'm using PowerShell to run commands.
You need to install the Allure Commandline to generate the report from the allure results. See https://allurereport.org/docs/gettingstarted-installation/