title: Generating coverage for a specific test class?
body: <p>I installed Jacoco  and can generate test coverage by running <code>mvn clean</code> and <code>mvn test</code> tasks. However, it generates coverage for all the test classes and I just need a single test coverage for a single test class.</p>
  <p>For this purpose I tried the following command (I use Windows 10 and not sure if I should change the directory location definition).</p>
  <pre><code>mvn --global-settings C:/Users/Henry/.m2/settings.xml -DfailIfNoTests=false 
      -Dtest=&quot;/com/company/core/service/impl/unit/EmployeeServiceImplTest.java&quot; test
  </code></pre>
  <p>But this command also generate coverage reports for all of the tests instead of the given class (<code>/com/company/core/service/impl/unit/EmployeeServiceImplTest.java</code>). So, how can I generate coverage for a specific test class?</p>