Relative Content

Tag Archive for javaunit-testingcode-coveragejacoco

How to unit test @Recover for jacoco code coverage using junit5?

I am using @Retryable and @Recover, so when exception occurs during retry, it can be handled in different way. I use @EnableRetry in my configuration class where it instantiates my service bean. In my service interface class, I marked a method to @Retryable like this: