I have created an integration test project to test VS Extension. If I run the tests from the Visual Studio IDE, all tests are running just fine and every method spawns a new VS IDE. The test methods are marked with the following attributes:
[HostType("VS IDE")]
[TestMethod]
public void TestWhateverMethod() { ... }
However if I try to automate the tests, and run them from commandline via MSTest (or VSTest) I got the following error message, for the tests that are hosted inside the VS IDE:
The host type 'VS IDE' cannot be loaded for the following reason: The key 'VS IDE' cannot be found. Make sure that the appropriate host adapter is installed on the machine.
Therefore I tried to find the solution at: MSDN - How to: Install a Host Adapter. But it is only documented for VS2005 and 2008.
I would like to ask for directions regarding VS 2013, where can I found out more? Or what am I missing? Which is the proper way to run integration tests from outside the VS IDE? How one can host an IDE programmatically?
Thank you in advance!