1

vstest.console.exe で実行した最近のテスト結果で奇妙な結果が発生しました。一部のテストの結果として実行されていませんが、カウンターはこれらの結果を反映していません。

実際の「カウンター」行は次のとおりです。

<Counters total="84" executed="78" passed="78" failed="0" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />

ご覧のとおり、「合計」カウンターと「実行済み」カウンターは同じではありません。テストの結果を調べると、欠落しているテストの結果が「NotExecuted」であることがわかります

例は次のとおりです。

<UnitTestResult executionId="b2be72ea-9196-4910-88f8-999fd342fef7" testId="717d6c19-e8ba-bf3d-44c5-0fe541873ab5" testName="MyTest" computerName="MyComputer" duration="00:00:04.1010226" startTime="2017-07-26T11:24:00.5455072-04:00" endTime="2017-07-26T11:24:04.6392676-04:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="NotExecuted" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="b2be72ea-9196-4910-88f8-999fd342fef7">

ここで、結果は次のようになると予想されます。

total="84" executed="78" passed="78" notExecuted="6"
4

0 に答える 0