Visual Studio “Debug Unit Test” fails to hit breakpoints

前端 未结 11 2058
天涯浪人
天涯浪人 2020-12-17 07:28

When using Visual Studio 2008 and debugging my unit tests... sometimes the debugger works fine. However very often after modifying some code then clicking \"Debug Unit Test\

11条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-17 08:30

    Ensure [TestMethod] attribute is present for the method, [TestClass] is present for class.

提交回复
热议问题