Allure behave integration
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
allure-behave-2.13.3.tar.gz
(11.3 kB
view hashes)
Built Distribution
Close
Hashes for allure_behave-2.13.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49c36b691076d3807c6a4d8e5e7dc3ee039a07d8e55acb36cdaafa6528c18c7e |
|
MD5 | c3124a226cf6e428f21d6467fcabbe49 |
|
BLAKE2b-256 | 3ef2069066cc8cbc872217c607602481bff3935e2136258bdeef7b400a1abded |