thibaultfalque

Results 61 comments of thibaultfalque

hi @Cosby86 Could you test with this configuration ? ``` sonar.sources=./ sonar.tests=./ sonar.test.inclusions=**/**_test.go sonar.sources.inclusions=**/**.go ```

Yes we have changed the coverage computation. See #56, #60 and #61. If there is not have _test.go in package the sources files of package are covered with 0%.

I will ask sonarqube to know how use the sonar.coverage.exclusions property (https://docs.sonarqube.org/display/SONAR/Analysis+Parameters)

@danielleberre we can use the method _doesNotMatchPathPatterns_ of _FilePredicates_ for exclude the patterns of property sonar.coverage.exclusions: http://javadocs.sonarsource.org/6.2.1/apidocs/org/sonar/api/batch/fs/FilePredicates.html#doesNotMatchPathPatterns-java.lang.String:A-

Hello @Cosby86 Do you have the problem with the latest version ? If not, could you close this issue ?

The plugin can not recognize the name of your test function. This is an example of test function that can be recognized. ``` func TestAverage(t *testing.T){ } ``` Can you...

Please check [release 1.2.11-RC8](https://github.com/uartois/sonar-golang/releases/tag/v1.2.11-rc8).

@xiezhenye could you close the issue if the problem is resolved ?

@xiezhenye could you close the issue if the problem is resolved ?