gradle / test-retry-gradle-plugin

Gradle plugin to retry tests that have failed to mitigate test flakiness.
Apache License 2.0
222 stars 50 forks source link

Support JUnit TestNG engine #296

Closed pshevche closed 2 months ago

pshevche commented 2 months ago

Summary

SAP reports a number of issues when TestNG run with JUnit TestNG Engine are retried:

  1. Methods with dependencies are not retried.
  2. Lifecycle failure retries are reported as unsuccessful.
  3. All these failures result in a Build Scan not being published.

This PR addresses the first two and I manually verified that the fix also resolves Build Scan publication errors. The plan forward is to release a Develocity plugin RC with this fix and validate with the customer if all of the issues are resolved.