title: import mocha unit tests result in sonarqube
body: <p>I use mocha to get unit tests results and istanbul to get code coverage. I'm using grunt to run these tasks. It works fine. I'm also using <code>grunt-sonar-runner</code>plugin to import these result in sonar. Currently code coverage is imported but that is not the case for unit tests results. During the build, sonar report me this :</p>
  
  <pre><code>20:40:19.410 WARN  - Test result will not be saved for test class "Account Controllers User Controller forgot password", because SonarQube associated resource has not been found using file name: "Account Controllers User Controller forgot password.js"
  20:40:19.411 WARN  - Test result will not be saved for test class "Account Controllers User Controller login", because SonarQube associated resource has not been found using file name: "Account Controllers User Controller login.js"
  20:40:19.413 WARN  - Test result will not be saved for test class "Account Controllers User Controller logout", because SonarQube associated resource has not been found using file name: "Account Controllers User Controller logout.js"
  </code></pre>
  
  <p>Because of this, sonar don't save unit tests results. I tryed to change the javascript plugin version in 2.2, or upgrade sonar system in 5.1.1 but the problem is the same. I also try to rename all <code>describe</code> function to form the right path to the file with <code>.</code> between folders (e.g: <code>test.unit.controllers.filename.</code> And I realized that it works for only one test. If you have more than 1 tests, it will not work. </p>
  
  <p>configuration:<br>
  * sonar (4.5.2)<br>
  * javascript plugin (2.7)  </p>
  
  <p>npm modules:<br>
  * mocha-sonar-reporter (^0.1.3)<br>
  * mocha: (^2.1.0)<br>
  * grunt-mocha-test (^0.12.7)</p>