Relative paths with NCover and MSTest.exe
I know this is stupid, but I can't figure it out. In our solution, we specify the relative paths to a file o开发者_如何学编程ne of our tests needs as -
../../../TestSuite/IniTestFiles/LocalRedir1.xml
Now, this works fine when running the testing out of VS with MSTest.exe. However, in NCover all of the tests fail. Does anyone know how I can go about fixing this? I can't move the file's location. Thanks!
Try setting the working path of NCover //w.
This way the ../.. will be relative to that folder.
You may also contact support
Joe Feser NCover
精彩评论