An Allure adapter for Behave.
- Learn more about Allure Report at https://allurereport.org
- ๐ Documentation โ discover official documentation for Allure Report
- โ Questions and Support โ get help from the team and community
- ๐ข Official announcements โ stay updated with our latest news and updates
- ๐ฌ General Discussion โ engage in casual conversations, share insights and ideas with the community
- ๐ฅ๏ธ Live Demo โ explore a live example of Allure Report in action
$ pip install allure-behave $ behave -f allure_behave.formatter:AllureFormatter -o %allure_result_folder% ./features $ allure serve %allure_result_folder%
The current implementation of behave-parallel makes some allure features inaccessible. In this case you need to patch your environment.py files instead of using the formatter. If you don't use environment.py, just create a new one that calls Allure Behave like that:
from allure_behave.hooks import allure_report ### your code allure_report("path/to/result/dir")
Learn more from Allure behave's official documentation.