allure-python
allure-python copied to clipboard
Allow user/tests to delete (and hence not just append but modify) any label that is available
- Allows user to clear all data available under label "feature".
- Allows user to clear all data available under any label.
Context
[//]: # ( Problem Statement - At present allure.dynamic.feature('Sample Feature Name') : allows user to add as many feature names as possible. However, if a user wants to remove any such feature name added based on certain condition met during runtime he can't.
For instance -
- Lets assume all tests of a mini project belongs to "Feature One". So in all tests we can use allure.dynamic.feature("Feature One") to assign the feature to all tests.
- But for just few tests, if certain criteria meets we need to make those tests linked with feature ("Feature Two"). As of now using allure.dynamic.feature("Feature Two") appends the feature name to the lists of feature, thus making the later set of tests available in report under both feature names.
)
Checklist
- [x] [Sign Allure CLA][cla]
- [ ] Provide unit tests
@sseliverstov Please take out some time, to review my PR. Thanks :)