Skip to content

Instantly share code, notes, and snippets.

@hetacz
Created July 13, 2023 11:33
Show Gist options
  • Save hetacz/24c6ed9854ff1bbe4aa0abfa6bd2aed5 to your computer and use it in GitHub Desktop.
Save hetacz/24c6ed9854ff1bbe4aa0abfa6bd2aed5 to your computer and use it in GitHub Desktop.
ApplyRetry
public class ApplyRetry implements IAnnotationTransformer {
@Override
public void transform(
@NotNull ITestAnnotation annotation,
Class testClass,
Constructor testConstructor,
Method testMethod
) {
annotation.setRetryAnalyzer(RetryAnalyzer.class);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment