Resources and Unit Testing

  • Thread starter Thread starter Duracel
  • Start date Start date
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
 
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.
 
Back
Top