allure-behave


Nameallure-behave JSON
Version 2.13.5 PyPI version JSON
download
home_pagehttps://allurereport.org/
SummaryAllure behave integration
upload_time2024-04-01 16:51:08
maintainerNone
docs_urlNone
authorQameta Software Inc., Stanislav Seliverstov
requires_pythonNone
licenseApache-2.0
keywords allure reporting behave
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## Allure Behave Formatter

[![Release Status](https://img.shields.io/pypi/v/allure-behave)](https://pypi.python.org/pypi/allure-behave)
[![Downloads](https://img.shields.io/pypi/dm/allure-behave)](https://pypi.python.org/pypi/allure-behave)

> An Allure adapter for [Behave](https://behave.readthedocs.io/en/latest/).

[<img src="https://allurereport.org/public/img/allure-report.svg" height="85px" alt="Allure Report logo" align="right" />](https://allurereport.org "Allure Report")

- Learn more about Allure Report at [https://allurereport.org](https://allurereport.org)
- 📚 [Documentation](https://allurereport.org/docs/) – discover official documentation for Allure Report
- ❓ [Questions and Support](https://github.com/orgs/allure-framework/discussions/categories/questions-support) – get help from the team and community
- 📢 [Official announcements](https://github.com/orgs/allure-framework/discussions/categories/announcements) –  stay updated with our latest news and updates
- 💬 [General Discussion](https://github.com/orgs/allure-framework/discussions/categories/general-discussion) – engage in casual conversations, share insights and ideas with the community
- 🖥️ [Live Demo](https://demo.allurereport.org/) — explore a live example of Allure Report in action

---

## Quick start

```shell
$ 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:

```python
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](https://allurereport.org/docs/behave/).

            

Raw data

            {
    "_id": null,
    "home_page": "https://allurereport.org/",
    "name": "allure-behave",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "allure reporting behave",
    "author": "Qameta Software Inc., Stanislav Seliverstov",
    "author_email": "sseliverstov@qameta.io",
    "download_url": "https://files.pythonhosted.org/packages/c0/9c/2456e3d900279dffaa74d01eb7f3dd9d46b347bf1a8eb77d0a3de9d649f3/allure-behave-2.13.5.tar.gz",
    "platform": null,
    "description": "## Allure Behave Formatter\n\n[![Release Status](https://img.shields.io/pypi/v/allure-behave)](https://pypi.python.org/pypi/allure-behave)\n[![Downloads](https://img.shields.io/pypi/dm/allure-behave)](https://pypi.python.org/pypi/allure-behave)\n\n> An Allure adapter for [Behave](https://behave.readthedocs.io/en/latest/).\n\n[<img src=\"https://allurereport.org/public/img/allure-report.svg\" height=\"85px\" alt=\"Allure Report logo\" align=\"right\" />](https://allurereport.org \"Allure Report\")\n\n- Learn more about Allure Report at [https://allurereport.org](https://allurereport.org)\n- \ud83d\udcda [Documentation](https://allurereport.org/docs/) \u2013 discover official documentation for Allure Report\n- \u2753 [Questions and Support](https://github.com/orgs/allure-framework/discussions/categories/questions-support) \u2013 get help from the team and community\n- \ud83d\udce2 [Official announcements](https://github.com/orgs/allure-framework/discussions/categories/announcements) \u2013  stay updated with our latest news and updates\n- \ud83d\udcac [General Discussion](https://github.com/orgs/allure-framework/discussions/categories/general-discussion) \u2013 engage in casual conversations, share insights and ideas with the community\n- \ud83d\udda5\ufe0f [Live Demo](https://demo.allurereport.org/) \u2014 explore a live example of Allure Report in action\n\n---\n\n## Quick start\n\n```shell\n$ pip install allure-behave\n$ behave -f allure_behave.formatter:AllureFormatter -o %allure_result_folder% ./features\n$ allure serve %allure_result_folder%\n```\n\n### Support behave parallel\n\nThe current implementation of behave-parallel makes some allure features inaccessible.\nIn this case you need to patch your environment.py files instead of using the formatter.\nIf you don't use environment.py, just create a new one that calls Allure Behave like that:\n\n```python\nfrom allure_behave.hooks import allure_report\n\n### your code\n\nallure_report(\"path/to/result/dir\")\n```\n\n## Further readings\n\nLearn more from [Allure behave's official documentation](https://allurereport.org/docs/behave/).\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Allure behave integration",
    "version": "2.13.5",
    "project_urls": {
        "Documentation": "https://allurereport.org/docs/behave/",
        "Homepage": "https://allurereport.org/",
        "Source": "https://github.com/allure-framework/allure-python"
    },
    "split_keywords": [
        "allure",
        "reporting",
        "behave"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e3deb162501f7eb1f43702d9b9ac586e4220c80562b1ba68d6649f9184aabaf",
                "md5": "50603a2574987485bf58bdf9ed40b72f",
                "sha256": "8b04291f435af536b46c3cbd20d33e61b27f5e25dd2fff2fdc1dc3fa2474e23e"
            },
            "downloads": -1,
            "filename": "allure_behave-2.13.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "50603a2574987485bf58bdf9ed40b72f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7793,
            "upload_time": "2024-04-01T16:51:07",
            "upload_time_iso_8601": "2024-04-01T16:51:07.075784Z",
            "url": "https://files.pythonhosted.org/packages/3e/3d/eb162501f7eb1f43702d9b9ac586e4220c80562b1ba68d6649f9184aabaf/allure_behave-2.13.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c09c2456e3d900279dffaa74d01eb7f3dd9d46b347bf1a8eb77d0a3de9d649f3",
                "md5": "7d4d4a14353369208e29e0be5fe830da",
                "sha256": "338ca2cc7395d1ee3dd72f5d7d92d8920f1ade0e07ddebc637b38e61e06dc8dc"
            },
            "downloads": -1,
            "filename": "allure-behave-2.13.5.tar.gz",
            "has_sig": false,
            "md5_digest": "7d4d4a14353369208e29e0be5fe830da",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 11362,
            "upload_time": "2024-04-01T16:51:08",
            "upload_time_iso_8601": "2024-04-01T16:51:08.478888Z",
            "url": "https://files.pythonhosted.org/packages/c0/9c/2456e3d900279dffaa74d01eb7f3dd9d46b347bf1a8eb77d0a3de9d649f3/allure-behave-2.13.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-01 16:51:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "allure-framework",
    "github_project": "allure-python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "allure-behave"
}
        
Elapsed time: 0.20806s