MSTest Injection Without Deploying ItemAttribute

Is there a way to expand the element without using attribute ? I am starting to get a stack of attributes over my testbase and it becomes difficult to maintain. Most of my items are DLLs that need to be placed in a folder under the deployment directory.

+2


a source to share


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







All Articles