title: 0.0% test Coverage - Sonar maven-surefire-plugin JUnit test-suite integration
body: <p>We are running Sonar 3.5, using test-suites, and executing them using maven-surefire-plugin. While our tests compile and execute correctly using maven, when we run sonar against them, we are still getting 0.0% Test Coverage in SONAR. Any idea what we're doing wrong?</p>
  
  <p>Maven-surefire-plugin configuration in pom.xml:</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;    
      &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;    
      &lt;configuration&gt;    
          &lt;test&gt;com.myApp.AllTests&lt;/test&gt;    
          &lt;failIfNoTests&gt;false&lt;/failIfNoTests&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>This test-suite looks like this:</p>
  
  <pre><code>package com.myApp;
  
  import org.junit.runner.RunWith;
  import org.junit.runners.Suite;
  import org.junit.runners.Suite.SuiteClasses;
  
  /**
   * 
   * @author me &lt;a href="mailto:my@myapp.com"&gt;Me&lt;/a&gt;
   *
   */
  @RunWith(Suite.class)
  @SuiteClasses({ TestA.class })
  public class AllTests {
  
  }
  </code></pre>