allure-python icon indicating copy to clipboard operation
allure-python copied to clipboard

Allow user/tests to delete (and hence not just append but modify) any label that is available

Open TheAutomationWizard opened this issue 4 years ago • 1 comments

  1. Allows user to clear all data available under label "feature".
  2. 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 -

  1. 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.
  2. 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

TheAutomationWizard avatar Jun 17 '21 12:06 TheAutomationWizard

@sseliverstov Please take out some time, to review my PR. Thanks :)

TheAutomationWizard avatar Jun 18 '21 12:06 TheAutomationWizard