gradle / test-retry-gradle-plugin

Gradle plugin to retry tests that have failed to mitigate test flakiness.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kotest's nested tests are failed to be retried

pshevche opened this issue · comments

Summary

Consider the following reproducer:

class FailingNestedTest : FreeSpec({

    "group of tests" - {
        "passing test" {
        }

        "failing test" {
            throw failure("Boom!")
        }
    }
})

The "failing test" will not be retried with the following failure:

Execution failed for task ':plugin:test'.
> 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
     io.github.pshevche.act.FailingNestedTest#failing test

Closing in favor of #93