mercredi 31 janvier 2018

Visual Studio 2017: Run tests with Startup Projects

I have a solution containing a few projects, three of which startup when hitting the Start button, which are integral to the operation of the program. I have some tests, which have been found by Visual Studio and are inside the Test Explorer panel.

The question is: When I hit the Run All button inside the Test Explorer panel, how can I tell Visual Studio to startup the same projects as when I hit the Start button?

The only way I can see it being done is by using a *.testsettingsfile to use a Setup script that will run the projects, but it just feels like a dirty way of doing it.

Any ideas?

Aucun commentaire:

Enregistrer un commentaire