I noticed that there's a new feature in VS2010 that enable tests to be run without vsmdi files using MSTest. This can be done by adding the tests to 'Test Categories'. Refer to this link for more details, http://msdn.microsoft.com/en-us/library/dd286683.aspx
I had tried to add my aii test to Test Categories and it doesn't seems to work well. Even though i had added my tests to a predefined 'Test Categories', when i tried to run from command prompt with the below command, it gives me 'No tests to execute' output.
mstest \testcontainer:MyTests.dll \category:"TestCategory1"
Besides, i also noticed that after i assigned a test to a 'Test Categories' in properties, the next time i go back to the properties of that test to check, the 'Test Categories' field is empty, which means it's not assigned to any Test Categories. Below are the steps i took to add test to 'Test Categories'.
1. in Test View, click on one of my test (test1), right click -> Properties -> Test Categories -> Add New Category
2. Test Categories in Properties is now assigned to the test categories that i just added
3. Go back to Test View and click on other tests (other than test1)
4. Go back to the Properties of test1, 'Test Categpries' is now empty again
Does this means that this 'Test Categories' feature doesn't work well with WebUI tests?