I have a class as following:
public class XConstants {
public static final int A_TYPE = 1;
public static final int B_TYPE = 2;
}
I am using both variables in my tests but when I examine the test coverage with Jacoco it shows %0 test coverage for this class. My guess is, it's because I never instantiate this class, just use its static variables. I tried creating an instance and test coverage went %100. How can I overcome this problem?