import org.junit.jupiter.api.Test
class DemoTest {
@Test
fun `retries work for this test`() {
throw AssertionError()
}
@Test
fun `and retries should work for this test (but not)`() {
throw AssertionError()
}
}
Output:
The following test methods could not be retried, which is unexpected. Please file a bug report at https://github.com/gradle/test-retry-gradle-plugin/issues
DemoTest#and retries should work for this test (but not)()
The same reproduced with gradle-enterprise-gradle-plugin:3.16.1
Parentheses in the test name are legit from Kotlin+Gradle+JUnit5 perspective, but it's caused exception in test-retry-gradle-plugin:
build.gradle.kts:
Test class:
Output:
The same reproduced with gradle-enterprise-gradle-plugin:3.16.1