Metadata-Version: 2.1
Name: allure-behave
Version: 2.11.1
Summary: Allure behave integration
Home-page: https://github.com/allure-framework/allure-python
Author: QAMetaSoftware, Stanislav Seliverstov
Author-email: sseliverstov@qameta.io
License: Apache-2.0
Keywords: allure reporting behave
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Software Development :: Testing :: BDD
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10

Allure Behave Formatter
=======================
.. image:: https://pypip.in/v/allure-behave/badge.png
        :alt: Release Status
        :target: https://pypi.python.org/pypi/allure-behave
.. image:: https://pypip.in/d/allure-behave/badge.png
        :alt: Downloads
        :target: https://pypi.python.org/pypi/allure-behave

- `Source <https://github.com/allure-framework/allure-python>`_

- `Documentation <https://docs.qameta.io/allure/2.0/>`_

- `Gitter <https://gitter.im/allure-framework/allure-core>`_


Installation and Usage
======================

.. code:: bash

    $ pip install allure-behave
    $ behave -f allure_behave.formatter:AllureFormatter -o %allure_result_folder% ./features
    $ allure serve %allure_result_folder%


Support behave parallel
-----------------------

Current implementation of behave-parallel makes some allure features inaccessible. So in this case you need patch your
environment.py files instead using formatter. If you don't use environment.py, just crate empty one with calling allure
like in example below.

.. code:: python

    from allure_behave.hooks import allure_report

    ### your code

    allure_report("path/to/result/dir")
