title: How to add static member variables Jacoco Test Coverage?
body: <p>I have a class as following:</p>
  
  <pre><code>public class XConstants {
  
      public static final int A_TYPE = 1;
      public static final int B_TYPE = 2;
  }
  </code></pre>
  
  <p>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?</p>