Skip to main content

Allure behave integration

Project description

Allure Behave Formatter

Release Status Downloads

An Allure adapter for Behave.

Allure Report logo


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.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page