Closed rambangaru closed 3 years ago
1. Tests are failed. 2. Provide a use case for suggested changes.
Thanks in advance.
In PyTest, Markers supports multiple values and when multiple values are used, the current code takes only on and ignore the remaining.
Lets take a use case, Consider I'm using the plugin
https://github.com/Projectplace/pytest-tags
for the purpose of adding tags to my Tests and Test have multiple tags. PyTest RP Agent takes the very first tag and add to report portal portal and ignores remaining, this particular code change, supports to update all the mentioned tags, and we can expect something like below in report portalthe current behavior is, it takes only first tag and report that alone to report portal
Ok. can you add unit tests then?
1. Tests are failed. 2. Provide a use case for suggested changes.
Thanks in advance.
In PyTest, Markers supports multiple values and when multiple values are used, the current code takes only on and ignore the remaining. Lets take a use case, Consider I'm using the plugin
https://github.com/Projectplace/pytest-tags
for the purpose of adding tags to my Tests and Test have multiple tags. PyTest RP Agent takes the very first tag and add to report portal portal and ignores remaining, this particular code change, supports to update all the mentioned tags, and we can expect something like below in report portal the current behavior is, it takes only first tag and report that alone to report portalOk. can you add unit tests then?
Added unit test. I actually added additional test data for existing test to validate new addition.
Kindly review.
In PyTest, Markers supports multiple values and when multiple values are used, the current code takes only on and ignore the remaining.
Lets take a use case, Consider I'm using the plugin
https://github.com/Projectplace/pytest-tags
for the purpose of adding tags to my Tests and Test have multiple tags. PyTest RP Agent takes the very first tag and add to report portal portal and ignores remaining, this particular code change, supports to update all the mentioned tags, and we can expect something like below in report portalthe current behavior is, it takes only first tag and report that alone to report portal