Mijalko
Programming and other things
Thursday, December 18, 2008
Visual studio test environment and provide additional files
If you want, for example, to copy additional files to test location for some unit test, for example, some XML file, do the following:
Add test.xml to test project
Set "Copy to output directory" property of file to "Copy always"
For test method add [DeploymentItem("test.xml")] attribute.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment