Debug unit test case / method in ASP.NET MVC

How to debug a unit test case / method?

To debug the Unit test method, right click the method select Debug Tests.

This stops the running test at the break point

The debugging works as it works in the normal C# project. We can use F10, F11 or F5 keys for the same functionality as we do for normal C# project / ASP.NET Project debugging.

No comments:

Post a Comment

How to register multiple implementations of the same interface in Asp.Net Core?

 Problem: I have services that are derived from the same interface. public interface IService { } public class ServiceA : IService { ...