Resources and Unit Testing

D

Duracel

Hi,

How is it possible to write a series of files (contained in a test project)
out to the test project location (i.e. whatever apppath will be)? Test
suite doesn't run the executable from bin\debug, but puts it somewhere
rather random (application data). So the build environment variables aren't
very useful with respect to "always copy" and "post build command line". I
haven't had much success getting test data cases to copy out with it to the
same location.

Thanks
 
D

Duracel

Duracel said:
Hi,

How is it possible to write a series of files (contained in a test
project) out to the test project location (i.e. whatever apppath will be)?
Test suite doesn't run the executable from bin\debug, but puts it
somewhere rather random (application data). So the build environment
variables aren't very useful with respect to "always copy" and "post build
command line". I haven't had much success getting test data cases to copy
out with it to the same location.

Thanks




I solved this by adding additional files and directories to deploy in the
testrunconfig.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top