In Visual Studio Test, how to make a playlist which automatically excludes certain tests?

前端 未结 1 977
攒了一身酷
攒了一身酷 2021-02-06 23:26

Our team has Visual Studio 2012 Professional licenses (not Test Professional). We are developing a smallish web application, and we have both true unit tests which mock everythi

1条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-06 23:59

    You could use the Traits feature in mstest to accomplish this. Take a look at this blog post: http://blogs.msdn.com/b/visualstudioalm/archive/2012/11/09/how-to-manage-unit-tests-in-visual-studio-2012-update-1-part-1-using-traits-in-the-unit-test-explorer.aspx

    0 讨论(0)
提交回复
热议问题