Resources and Unit Testing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Duracel

    #1

    Resources and Unit Testing

    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

    #2
    Re: Resources and Unit Testing

    "Duracel" <nospam@itsarea lshame.comwrote in message
    news:3eSdnb5CyI ss9pbbnZ2dnUVZ8 qugnZ2d@giganew s.com...
    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.






    Comment

    Working...