asmagin / Cake.Sitecore

The library provides a set of pre-build CAKE tasks. Those tasks could be used to simplify a configuration of CI/CD for Helix-based Sitecore projects.
https://cakebuild.net/addins/sitecore/
MIT License
11 stars 12 forks source link

OpenCover Register option is not configurable #14

Closed fpodshivadlov closed 6 years ago

fpodshivadlov commented 6 years ago

During running RunServerUnitTestsTask the following message shows:

No results, this could be for a number of reasons. The most common reasons are: 1) missing PDBs for the assemblies that match the filter please review the output file and refer to the Usage guide (Usage.rtf) about filters. 2) the profiler may not be registered correctly, please refer to the Usage guide and the -register switch.

Changing it to _coverSettings.Register = "Path64" fixes the issue for me.

So my proposal is to allow to specify it from outside.