Allure-pytest defines default suite labels: parentSuite (optional), suite and subSuite (optional).
If an author of a test uses a decorator (e.g., @allure.suite) to assign a custom suite label to a test, allure-pytest doesn't add its default counterpart.
This PR extends this behavior to cover suites added dynamically (e.g., with allure.dynamic.suite) as well.
The default suit is three-tiered. If I only want a two-tier test suite, there's currently no way to achieve this, right? Because subSuite and parentSuite are added by default.
Context
Allure-pytest defines default suite labels: parentSuite (optional), suite and subSuite (optional). If an author of a test uses a decorator (e.g.,
@allure.suite
) to assign a custom suite label to a test, allure-pytest doesn't add its default counterpart.This PR extends this behavior to cover suites added dynamically (e.g., with
allure.dynamic.suite
) as well.Checklist
Closes #586