简体   繁体   中英

Different Test Settings per project in same solution Visual Studio

1.Visual Studio 2010

2.Visual Studio Unit tests.

We develop a solution that has , for each project there is a test project.的解决方案,每个项目都有一个测试项目。 Each test project has its that it needs.That's why every test project has its .

Question:

I would like to be able to run all the test projects at once to get statistics for all the solution (code coverage, etc..).

Is there any way to do this without merging all test settings into one (this solution maybe problematic)?

EDITED

Any other solution to test all the solution will be highly appreciated.

Unfortunately project specific test settings are not supported. One solution I often employ is to change the output folder for all projects to a common location. This is also a build performance optimization as dependencies aren't copied multiple times.

This strategy simplifies the deployment strategy as all my test projects write to common folders (ie TestData) and I can add a single deployment item to copy the entire directory for the test run.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM