2016-04-15 4 views
1

私はOpenCoverで作業しているプロジェクトのコードカバレッジを取得しようとしています。今私はVS2013用のOpenCoverUIツールを使用すると、コードカバレッジを完全に生成します(約60%)。しかし、私は今、OpenCoverUIの使用を廃止するスクリプトを書こうとしています。なぜなら、私はこれをどのVSでもプリフォームできるようにしたいからです。私は今、わずか2%のコードカバレッジを取得し、次のように私は私のスクリプトを実行したときしかし、私は私のスクリプトで間違った何かをやっていると仮定しますが、私の人生のために私はOpenCover CommandLineが正しいカバレッジを返さない

がfolowsとして私のスクリプトが何であるか

知りません

"C:\Users\ldam\Documents\Git\CentralFinal\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe" -register:user -target:"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\mstest.exe" -targetargs:"/testcontainer:\"C:\Users\ldam\Documents\Git\CentralFinal\CentralStationApi.Tests\bin\Debug\CentralStationApi.dll\" /resultsfile:C:\Users\ldam\Documents\CentralStationApi.trx" -filter:"+[CentralStationApi*]*" -mergebyhash -output:"C:\Users\ldam\Documents\CentralStationApi.xml" 
cd C:\Users\ldam\Documents\Git\CentralFinal\packages\ReportGenerator.2.4.4.0\tools 
ReportGenerator.exe "-reports:C:\Users\ldam\Documents\CentralStationApi.xml" "-targetdir:C:\Users\ldam\Test\fifth" 
pause 

私の質問は、私はそれがあなたの.NETのエントリポイントがどこにあるかを見てあなたが持つかもしれないOpenCoverUI

答えて