Contains the API for end users as well as helper functions and classes to build Allure adapters for Python test frameworks
Actively maintained. Last release 2 months ago, commits in 7 of the last 26 weeks. A safe choice.
pip install allure-python-commonsAllure Common API
The package contains classes and functions for users of Allure Report. It can be used to enhance reports using an existing Allure adapter or to create new adapters.
- 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
User's API
Install an adapter that suits your test framework. You can then add more
information to the report by using functions from the allure module.
Decorators API
Use these functions as decorators of your own functions, e.g.:
import allure
@allure.title("My test")
def test_fn():
pass
The full list of decorators:
allure.titleallure.descriptionallure.description_htmlallure.labelallure.severityallure.epic