.net core projects code coverage visual studio 2017

前端 未结 6 2019
一整个雨季
一整个雨季 2021-02-01 05:15

I am using Visual Studio Enterprise 2017 to develop my .net core projects.

My solution also has some unit test projects and I want to view my current Code coverage.

6条回答
  •  Happy的楠姐
    2021-02-01 05:52

    You can try dotCover from Jetbrains. https://www.jetbrains.com/dotcover/features/

    dotCover is a .NET unit testing and code coverage tool that works right in Visual Studio, helps you know to what extent your code is covered with unit tests, provides great ways to visualize code coverage, and is Continuous Integration ready. dotCover calculates and reports statement-level code coverage in applications targeting .NET Framework, Silverlight, and .NET Core.

    It works fine with .NET Core & can show code coverage.

    Supports multiple unit testing frameworks, namely MSTest, NUnit, xUnit (all out of the box) and MSpec (via a plug-in).

提交回复
热议问题