私は、Selenium Webdriverの自動テストでOpenCoverでカバレッジ統計を取得しようとしていました。Selenium WebdriverによるOpenCoverカバレッジの統計
私は現在、ローカルIIS上にWebアプリケーションをセットアップしており、私はSpecFlowを使用して自動化を行っています。
OpenCover.Console.exeを使用しています。私は現在、この行を使用していくつかのカバレッジを取得しようとしています。 "C:¥Windows¥System32¥inetsrv¥w3wp.exe" -targetargs:-debug -targetdir: "C:¥Inetpub¥wwwroot¥AmberUI¥deploy¥bin" -register :ユーザー
私はresults.xmlファイルを取得していますが、それはちんぷんかんぷん
<Method visited="true" cyclomaticComplexity="1" nPathComplexity="0" sequenceCoverage="0" branchCoverage="0" isConstructor="false" isStatic="false" isGetter="false" isSetter="false">
<Summary numSequencePoints="0" visitedSequencePoints="0" numBranchPoints="0" visitedBranchPoints="0" sequenceCoverage="0" branchCoverage="0" maxCyclomaticComplexity="1" minCyclomaticComplexity="1" visitedClasses="0" numClasses="0" visitedMethods="0" numMethods="0" />
<MetadataToken>100663387</MetadataToken>
<Name>System.Int32 <>f__AnonymousType9`2::GetHashCode()</Name>
<SequencePoints />
<BranchPoints />
<MethodPoint vc="4" uspid="300197" ordinal="0" offset="0" />
</Method>
の負荷を吐き出していますが、誰が正常にOpenCoverとセレンwebdriverをとカバレッジの統計情報を取得することができていますか?
ありがとう、私はGoogleを掘り出した後に私が望むものを得ることができた。結果は、私の自動化されたテストが当てているアプリケーションの部分を示しています。 w3wp.exeにプロセスを接続しているので、さらに質問があります。その後、OpenCoverをシャットダウンする必要があります。シャットダウンするコマンドはありますか? –
@MattCは、処理対象のプロセスをシャットダウンします。 –