Run specific unit test in Visual Studio

前端 未结 5 1217
误落风尘
误落风尘 2021-02-11 11:58

I have dozens of unit tests, and I\'d like to fix the code I am working on now, but every time I run the tests it takes over 30 seconds to run every unit test (I think reflectio

5条回答
  •  一个人的身影
    2021-02-11 12:39

    @Andrew M's answer is awesome, but I wanted to know where the keyboard shotcuts come from. All you have to do is:

    1. Right click your test function name.
    2. Select Run Test or Debug Test.

提交回复
热议问题