Resharper 10 Ultimate Test Runner 更改测试目录
Resharper 10 Ultimate Test Runner changes test directory
我已经用 Jetbrains 提出了一个错误,但我希望在 SO 中发帖会得到更多的关注。
而不是 运行 来自 bin\debug 目录的测试,该目录正在更改为:C:\Users\{username}\AppData\Local\JetBrains\Installations\ReSharperPlatformVs12
JetBrains ReSharper Ultimate 10.0.2 内部版本 104.0.20151218.120627
ReSharper 10.0.20151218.130009
我目前的解决方法是:
- 正在卸载 ReSharper 版本 10
- 安装ReSharper version 9.2
- 正在安装NUnit Version 2.6.4。
你在测试中使用 CurrentDirectory 吗?如果有,请参考NUnit 3.0 Breaking-Changes page:
CurrentDirectory No longer set to the directory containing the test
assembly. Use TestContext.TestDirectory to locate that directory.
我已经用 Jetbrains 提出了一个错误,但我希望在 SO 中发帖会得到更多的关注。
而不是 运行 来自 bin\debug 目录的测试,该目录正在更改为:C:\Users\{username}\AppData\Local\JetBrains\Installations\ReSharperPlatformVs12
JetBrains ReSharper Ultimate 10.0.2 内部版本 104.0.20151218.120627 ReSharper 10.0.20151218.130009
我目前的解决方法是:
- 正在卸载 ReSharper 版本 10
- 安装ReSharper version 9.2
- 正在安装NUnit Version 2.6.4。
你在测试中使用 CurrentDirectory 吗?如果有,请参考NUnit 3.0 Breaking-Changes page:
CurrentDirectory No longer set to the directory containing the test assembly. Use TestContext.TestDirectory to locate that directory.