Completed
Last Updated: 07 Dec 2022 11:53 by ADMIN
Pam
Created on: 03 Jun 2022 14:13
Type: Bug Report
1
VS 2019 code coverage integration fails when the nuget Microsoft.ApplicationInsights.AspNetCore V2.20.0 is referenced

Referencing the nuget Microsoft.ApplicationInsights.AspNetCore V2.20.0 in the project that is tested leads to the VS 2019 code coverage failing to produce the report. Here are the steps to reproduce:

1. Create a project from the template ASP.NET Core Web API targeting .NET 5

2. Add a reference to the nuget package Microsoft.ApplicationInsights.AspNetCore V2.20.0

3. Create a unit test project from the C# JustMock Test Project (.NET Core) template.

4. Run the VS code coverage.

Expected result: the code coverage report is produced.

Actual result: there is no code coverage report

1 comment
ADMIN
Ivo
Posted on: 07 Dec 2022 11:53

The issue is fixed with JustMock R3.2022 SP1 (2022.3.1109.1). Enjoy!

 

Regards,
Ivo
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.