[英]Visual Studio 2010 Test Projects
I have a solution with some test projects containing unit tests. 我有一些包含单元测试的测试项目的解决方案。 When I run all tests, I would like to execute one project at a time, ie, all the unit tests of the first project, then all the unit tests of the second project, ecc.
运行所有测试时,我希望一次执行一个项目,即第一个项目的所有单元测试,然后是第二个项目的所有单元测试,例如ecc。 Is it possible with Visual Studio 2010?
是否可以使用Visual Studio 2010?
What you can do is set multiple startup projects. 您可以做的是设置多个启动项目。 To do so:
为此:
In the Project menu, under Properties , expand Common Properties to select Startup Project . 在“ 项目”菜单中的“ 属性”下,展开“ 通用属性”以选择“ 启动项目” 。 From here you can select Multiple Startup Projects , after which you will be capable of debugging more than one project at once.
在这里,您可以选择多个启动项目 ,之后您将能够一次调试多个项目。
Hopefully this helps you. 希望这对您有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.