Skip to content

Which labels can be repeated multiple times? #2059

Closed Answered by baev
noomorph asked this question in Questions & Support
Discussion options

You must be logged in to vote

There are no restrictions on label duplicates in Allure. Although, for some of the labels, only the first one is considered.

( Processing the first one and not the last one was a poor design decision since it limits the possibilities to override labels, see allure-framework/allure-php-commons2#57, for example )

Besides that, some frameworks do additional logic on top of it, like in PyTest -- default suite labels (provided by PyTest reporter) will be only added to the results if no user-provided value is found. Although, users are free to add multiple suite labels if they wish. Such kind of behaviours are unclear and very hard to fix since the change will break a lot of tests for Allure Re…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@noomorph
Comment options

Answer selected by baev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants