Stepping through and debugging code in Unit tests

前端 未结 8 2028
离开以前
离开以前 2020-12-09 01:34

I have not been able to debug or step through unit test.

Here is my sample test code...

using System;
using System.Text;
using System.Collections.Gen         


        
8条回答
  •  伪装坚强ぢ
    2020-12-09 01:57

    One option is to install TestDriven.net which makes it easier to run unit tests on any of the major unit testing .net frameworks (nunit, xunit, VS tools, etc). Once installed you can right click on a function and choose Test With --> debugger.

提交回复
热议问题