This is a migrated thread and some comments may be shown as answers.

Just Test Working Directory

1 Answer 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
MadBojo
Top achievements
Rank 1
MadBojo asked on 23 May 2013, 01:31 PM
Hello, 

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?

1 Answer, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 27 May 2013, 12:34 PM
Hello,

 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.
Thanks.

Regards,
Zdravko
Telerik
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.
Tags
General Discussions
Asked by
MadBojo
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Share this question
or