allure-python
allure-python copied to clipboard
Add support allure decorators (not all) for allure-pytest-bdd (fixes #726)
Context
Add Allure Decorators Support for Tests
This pull request introduces the ability to use Allure decorators for test cases in pytest-bdd. These decorators are essential for auto-documentation and integration with Allure Test Ops.
Currently Working Decorators:
-
@allure.description
-
@allure.label
-
@allure.severity
-
@allure.epic
-
@allure.feature
-
@allure.story
-
@allure.suite
-
@allure.parent_suite
-
@allure.sub_suite
-
@allure.tag
-
@allure.id
-
@allure.manual
-
@allure.link
-
@allure.issue
-
@allure.testcase
Non-Working Decorators:
-
@allure.title
-
@allure.description_html
I propose to fix the remaining decorators and dynamic labels in subsequent pull requests.
Thank you for reviewing!
Checklist
- [x] Sign Allure CLA
- [x] Provide unit tests