Different test settings for one project in one Visual Studio solution

Instruments:

1.Visual Studio 2010

2. Visual tests of the studio module.

History:

We are developing a solution that has several projects , for each project there is a test project. Each test project has its deployment elements that it needs. Therefore, each test project has its own settings. .

Question:

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

Is there a way to do this without merging all test settings with one (this solution can be problematic)?

EDITED

Any other solution for testing the whole solution will be highly appreciated.

+6
source share
1 answer

Unfortunately, special test settings are not supported. One solution that I often use is to change the output folder for all projects in a common place. It is also an optimization of assembly performance, since dependencies are not copied multiple times.

This strategy simplifies the deployment strategy, since all my test projects write to shared folders (e.g. TestData), and I can add one deployment item to copy the entire directory for the test run.

+3
source

Source: https://habr.com/ru/post/912388/


All Articles