Does `org.gradle.test-retry` plugin work for you?...
# kotest
n
Does
org.gradle.test-retry
plugin work for you? I receive
IllegalStateException: The following test methods could not be retried, which is unexpected
I tried on a few projects.
l
I've never tried that plugin specifically. However, Kotest has a
retry
feature: https://kotest.io/docs/assertions/retry.html
k
I've never used the retry plugin, but sometimes we need to retry a test because something fails while setting things up (e.g. in a beforeTest method). In such a case, I don't think the
retry
method would be useful, would it?
n
retry
from Kotest is not useful for me because I would need to add it to every test case.
e
Please file an issue. I thought this PR fixed that but seems not. Perhaps it’s something we can handle in Kotest but it could also boil down to an issue with Gradle assuming all tests are methods (in Kotest they’re not, unless you use
AnnotationSpec