Alex Rivera | Logout

MSTest copy file to test run folder

Asked 2009-03-16T02:49:20.383
114

I've got a test which requires an XML file to be read in and then parsed. How can I have this file copied into the test run folder each time?

The XML file is set to "Copy if newer" and a compile mode of "none" (since it's not really a compile-able thing)

Edit
Report

1 Answer

8

The Preet answer is used to deploy items for a single test. If you want to do it at solution level, use the .testrunconfig settings.

answered 2011-08-02T14:11:00.240

Your Answer