You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using TestNG with gradle, and for retrying flaky tests, I am using gradle-retry-plugin instead of the IRetryAnalayzer from TestNG.
Could you please have a look at this issue, and share your input on how to best deal with this situation:-
I would like to be able to retry tests that are marked as skipped in TestNG but this is not possible at the moment with gradle-retry-plugin, so therefore I am making the configuration methods annotated with @BeforeMethod and @BeforeClass in BaseTest as failed which causes Gradle/TestNG to report the result of configuration method separately causing duplicatate total results count where the configuration method is shown as failed, and the actual test is shown as skipped.
I would really appreciate your input on dealing with this situation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am using TestNG with gradle, and for retrying flaky tests, I am using gradle-retry-plugin instead of the IRetryAnalayzer from TestNG.
Could you please have a look at this issue, and share your input on how to best deal with this situation:-
gradle/test-retry-gradle-plugin#290
I would like to be able to retry tests that are marked as skipped in TestNG but this is not possible at the moment with gradle-retry-plugin, so therefore I am making the configuration methods annotated with @BeforeMethod and @BeforeClass in BaseTest as failed which causes Gradle/TestNG to report the result of configuration method separately causing duplicatate total results count where the configuration method is shown as failed, and the actual test is shown as skipped.
I would really appreciate your input on dealing with this situation.
Beta Was this translation helpful? Give feedback.
All reactions