How do you separate unit tests from integration tests in Visual Studio?

前端 未结 2 1621
栀梦
栀梦 2021-02-19 09:07

I\'ve been using Visual Studio 2008 Test projects to store my tests. Lately I\'ve realized that a lot of my unit tests are in fact integration tests because they rely on extern

2条回答
  •  南方客
    南方客 (楼主)
    2021-02-19 09:51

    I put them in a separate project named IntegrationTests or something similar.

    EDIT:

    With Test View you can create lists & filter them:

    http://msdn.microsoft.com/en-us/library/ms182452.aspx

    And then run them:

    http://msdn.microsoft.com/en-us/library/ms182470.aspx

提交回复
热议问题