0

I am writing test for my application. I have installed jacoco plugin for my gradle project. After making test coverage report I see "public class MyClass" in red color, that means, that it is not covered.

So, how can I fix this and make it covered(colored with green)?

Lacky RyDar
  • 61
  • 1
  • 7

1 Answers1

0

Fixed. Just do not use @PrepareForTest for this class int tests

Lacky RyDar
  • 61
  • 1
  • 7