MSTest Injection Without Deploying ItemAttribute
1 answer
You can define them in your local test run configuration.
Test => Modify Test Run Configuration => select one.
Go to deployment section, add deployment items.
The problem is that you need to maintain test run configuration, which is sometimes no better than keeping the attributes. Moreover, the tests are no longer standalone, they depend on this configuration. And - the deployment items are deployed even if you only run one test, which is not needed. But sometimes its easier here.
IMHO, MSTest is pretty half baked. Deployment items are a nightmare.
+2
a source to share