Understanding Inactive Tests
When a test is unable to run it could be that the test is Inactive. There are several reasons for a test to be Inactive:
1. The test method has a "DontRun" attribute.
In order to activate the test remove the attribute.
2. The test method has an "Ignore" attribute.
In order to activate the test remove the attribute.
3. The Test Project is not in the solution's build configuration.
In order to fix this situation do the following steps:
1. In Visual Studio click "Build" tab.
2. Choose the "Configuration Manager..." option.
3. Check the "Build" Check Box .
Manually Running Inactive Tests
In order to run Inactive tests, that are not in Build Configuration or with "DontRun" attribute, manually: Right click the test and select "Run This Test".