tornaia / karma-sonarqube-unit-reporter

A Karma plugin. Unit tests execution report for SonarQube/Generic Coverage Plugin
MIT License
33 stars 28 forks source link

fix PC path style with one backslash in the path, add testPaths instead of testPath for multiple test file locations #21

Closed Boltyk closed 6 years ago

Boltyk commented 7 years ago

When you run it on PC the path of the file has just single \, so backslashes stays in the path non-replaced and, as the result, sonarqube's GenericCoverageSensor can't find any matching files because he's looking for normal slashes (/) in the path. The second commit is to change testPath to testPaths, so you can specify more than one location for your test files.

Boltyk commented 6 years ago

conflict resolved

tornaia commented 6 years ago

I will check and merge PR within the next days (probably during weekend)

tornaia commented 6 years ago

Thanks for your contribution! 0.0.15 was just released!