Running unit tests outside VS 2008 RRS feed

  • Question

  • Hi,

    I'd like to run unit tests outside VS 2008, i.e. directly from my application while its running on the development environment. It is necessary due to the fact that I need to use in my tests objects coming from other applications. It would be really interesting for me that I could use these real objects rather than create fake ones.

    Are there some public API that makes it possible? I mean, some classes that I could use to run unit tests passing parameters to them?

    Thanks a lot,

    Friday, April 4, 2008 1:46 PM


  • Hi Roberta,

    Currently the only supported way to do this is via mstest.exe but we are considering a solution like this for the next release. I'm not sure if there is an item on http://connect.microsoft.com yet for it.




    Saturday, April 5, 2008 12:06 AM