I suggest you ...

Run unit tests for non-WCF web services with multiple start up projects

Visual Studio will start a WCF web service automatically when running a unit test against it. However, it will not start any other implementation of a web service when running unit tests.

Visual Studio should let the user select both unit tests projects and web application projects under multiple startup projects. Then when the user presses F5, Visual Studio should first launch the web application project(s) and then run the unit tests.

Similarly, if one or more unit tests is ran via Test Explorer, Visual Studio should first launch all web application projects in the startup projects if they are not already running.

This would have several advantages. First, it would be easier on the developer having to just hit F5. Second, it would eliminate the need to have two instances of Visual Studio, one for the unit tests and another for the web service(s). Third, it would make debugging more seamless.

1 vote
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Daniel Babralace shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • . commented  ·   ·  Flag as inappropriate

    This can also be done by adding a property page to the unit test project type. In this property page let the user select projects that must be started before running the unit test. This approach will let the UI run individual tests and do automatic testing.

Feedback and Knowledge Base