Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change test runner working directory

Is it possible to change the working directory when running/debugging unit tests using the integrated test runner that comes as part of resharper?

like image 680
Myles McDonnell Avatar asked Jun 26 '12 12:06

Myles McDonnell


1 Answers

Turns out you can;

 Main Menu > Reshaper > Options > Tools > Unit Testing > Run Tests From 

You also need to change the output dir of the test project of course.

The problem with this is it's a global change rather than per project. I have now fixed my issue by changing the output dir of the system under test to the unit test output dir.

like image 154
Myles McDonnell Avatar answered Sep 28 '22 08:09

Myles McDonnell