When I attempt to "Run Tests in current context" it runs every test in the entire solution.
This used to work fine but now seems to have either a bug or a configuration problem.
Thanks.
When I attempt to "Run Tests in current context" it runs every test in the entire solution.
This used to work fine but now seems to have either a bug or a configuration problem.
Thanks.
Not exactly a direct solution to your problem, but I have found that the TestDriven.net tool does a better job of executing tests than VS itself. It also supports running just any code that does not require parameters which can be very useful at times, as well as supporting a host of other test frameworks.
Are you using VS Test tools? If so, I have seen this same problem, especially with new tests or a new test assembly. One thing that helps me is going to the "Test View" window, refreshing the tests list and then highlighting a block of code within the test I want to run. Then, hit the Run or Debug Tests in Current Context button.
I strongly recommend TestDriven.net. It makes running and debugging unit tests very simple. It comes with NCover which gives you test coverage.