Just Test Working Directory

Thread is closed for posting
2 posts, 0 answers
  1. MadBojo
    MadBojo avatar
    3 posts
    Member since:
    Dec 2012

    Posted 23 May 2013 Link to this post


    I'm trying to use Just Test with nUnit tests.  The only issue I'm having is regarding relative pathing.  In some of the tests where I compare known good files to newly generated files, I'm using relative paths from the project assembly directory.  However, running the tests from Just Test within VS, the current directory is set to Users/[username]/AppData/Local/Temp/. 

    Is there a way to change this directory, or can you suggest an alternate method to make this concept work?
  2. Zdravko
    Zdravko avatar
    657 posts

    Posted 27 May 2013 Link to this post


     Thanks for contacting us.
    As an alternative I would suggest copying the files you compare to your solution (if they aren't) and set their "Copy to Output Directory" property. Then they will be copied to the same temp folder.

    Another way is to disable Shadow-copy setting at JustCode Options > Unit Testing, but this way  you won't be able to build while the tests are running.

    Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
Back to Top