【Editing】Acquiring Coverage of ASP.NET Application

0

TODO

  • I haven't listed the ideas I thought of for each client/server...

At first

As I wrote in the title. I have server-side unit tests, but I don't have much test code itself, so I want to be able to get coverage of the WebAPI executed by E2E tests in Selenium.

External links

First of all, try it with reference to the following. ◆IIS Support  https://github.com/OpenCover/opencover/wiki/IIS-Support

◆ OpenCover - Measure coverage for running ASP.NET applications - asp.net, opencover  https://living-sun.com/ja/aspnet/81522-opencover-measuring-coverage-against-running-aspnet-application-aspnet-opencover.html

coverage.bat
OpenCover.Console.exe -target:C:\\Windows\\System32\\inetsrv\\w3wp.exe 
-targetargs:"-debug -s 1" 
-targetdir:%WebSite_Path% 
-filter:+[*]* 
-register:user 
-output:%CoverageResult_Path%

result

Coming Soon... ※ Try with the above command and describe the result later...

Share:
0
Author by

Updated on July 24, 2020