Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @allure.manual decorator to simplify ALLURE_MANUAL=True label setting #688

Merged
merged 6 commits into from
Oct 6, 2022

Conversation

betapl3b
Copy link
Contributor

@betapl3b betapl3b commented Sep 26, 2022

Context

For now, to mark your test case as a manual, you need to use decorator @allure.label("ALLURE_MANUAL", True). This thing is not intuitive and not even stated in documentation.

This PR is adding @allure.manual decorator which is replacing this usage.

Checklist

@CLAassistant
Copy link

CLAassistant commented Sep 26, 2022

CLA assistant check
All committers have signed the CLA.

@skhomuti skhomuti self-requested a review September 27, 2022 15:23
@skhomuti
Copy link
Collaborator

@betapl3b thanks!

allure-python-commons/src/_allure.py Outdated Show resolved Hide resolved
@skhomuti skhomuti merged commit cfb6395 into allure-framework:master Oct 6, 2022
beckerGil pushed a commit to beckerGil/allure-python that referenced this pull request Apr 10, 2023
…ting (allure-framework#688)

* Added a decorator to simplify ALLURE_MANUAL=True label usage. Added tests for "allure.manual" decorator
* Add dynamic `manual` label

Co-authored-by: skhomuti <skhomuti@gmail.com>
@betapl3b betapl3b deleted the allure-manual-decorator branch February 16, 2024 12:54
IvanBuruyane pushed a commit to IvanBuruyane/allure-python that referenced this pull request Mar 19, 2024
…ting (allure-framework#688)

* Added a decorator to simplify ALLURE_MANUAL=True label usage. Added tests for "allure.manual" decorator
* Add dynamic `manual` label

Co-authored-by: skhomuti <skhomuti@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants