When trying to run my unit test under Chess, it get the following error:
Hosting rules specify that the test
type ‘Unit Test’ cannot run in the
host adapter ‘Chess’. To run this test
in ‘Chess’, change the hosting rules.
To use the default test host for tests
that cannot be run in the specified
host adapter, change the test run
configuration settings.
The test method is defined like so:
[TestMethod]
[HostType("Chess")]
[TestProperty("ChessDebug", "true")]
public void MyUnitTest()
{...}
In the localtestrun.testrunconfig file I have the following settings:
Hosts > Run in default host with the Microsoft.ManagedChess.TeamTestHost.MasterHostAdapter selected.
Any ideas as to what I am missing?
I restarted Visual Studio and changed the options in localtestrun.testrunconfig to
Hosts > Run in default host with the default host type.