开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜