开发者

Getting Partcover and Gallio to work on the command line error, report is Empty?

开发者 https://www.devze.com 2022-12-22 10:17 出处:网络
I have gotten PartCover 2.3 and Gallio 3.1 to work through the Partcover coverage browser. When I try rerunning the command on the command line I am getting a CorProfiler is turned off, and then the r

I have gotten PartCover 2.3 and Gallio 3.1 to work through the Partcover coverage browser. When I try rerunning the command on the command line I am getting a CorProfiler is turned off, and then the report is empty? I am running from Admin shell. I also had read the following article. It says to use the /r:Local, I had to /r:IsolatedAppDomain in the broswer.

partcover.exe --target ..\gallio\bin\gallio.echo.exe --target-work-dir ..\.\product\RSINET.MVC.Tests\bin\debug --target-args /r:IsolatedAppDomain RSINET开发者_C百科.MVC.Tests.dll --include +[RSINET.MVC.Tests]* --output ..\..\artifacts\RSINET.MVC.Tests.results.xml


I had the same problem so I decided to take a look at PartCover's source code to see what the heck was going on, it appears the initial '+' in the include is not required, for example +[RSINET.MVC.Tests]* becomes [RSINET.MVC.Tests]*". This is inconsistent with using the settings.xml file which requires the + to be there.

0

精彩评论

暂无评论...
验证码 换一张
取 消