Conversation
|
@Snooz82 if you could review that would be great :) |
|
i can check it maybe tomorrow. what is the “difference” between skip and test:retry(0) ? |
|
for tag in test.tags:
In that case test will contain 2 tags
This works fine until you change your global retry value. For example, if you update your retry value from 1 to 2 or 3 in the command line, then it won't work..
This solves all the above problems, and the naming clearly indicates what this tag will do. |
|
@Snooz82 Hi did you got a chance to look at this PR? |
Reason for Adding the Skip Retry Tag
I want to add this skip retry tag because I have 60 test cases with the test:retry(1) tag at the suite level https://github.com/MarketSquare/robotframework-retryfailed/pull/9/files#diff-64f4b9829f275355a1230bb6c4f84b3f8f04c9a1050ad6fb6960b8ecd5a803f4R2. If I want to skip the retry for one particular test, I need to individually add test:retry(1) to all the remaining 59 tests and leave out that specific test, which is time-consuming. Hence, this change will help me streamline the process.