I have some tests done for MsTest. A part of these tests relay on various files which are loaded. These files are with the C# projects (under source control), so to be able to find them I use a post build event to write a simple text file which contains the full path to the project folder. This file is written in the ouput path. So it is available in the same location as the tests assembly.
When tests start, this file is read and path to necessary files is contructed. This run perfectly well when ReSharper run nUnit tests. But when I want to run MsTest tests with ReSharper, this behavior fail: ReSharper seem to copy the tests assembly in some temp folder. The behavior stil run normally with MsTest.exe. I thgough indicating the file(s) to copy in the .testrunconfig (deployment section) would be sufficient, but ReSharper seem to totally ignore it.
Is there a solution or another way to do that ?
IMHO this is a ReSharper bug: it should be read the .testrunconfig file to copy all files in the deployement section.
ReSharper v5.1 (licensed) ; Visual Studio 2008 SP1