allure-behave2.15.0
allure-behave2.15.0
Published
Allure behave integration
pip install allure-behave
Package Downloads
Authors
Project URLs
Requires Python
Dependencies
Allure Behave Formatter
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
Quick start
$ pip install allure-behave
$ behave -f allure_behave.formatter:AllureFormatter -o %allure_result_folder% ./features
$ allure serve %allure_result_folder%
Support behave parallel
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")
Further readings
Learn more from Allure behave's official documentation.