Pouya Barrach-Yousefi
Pouya Barrach-Yousefi

Reputation: 1207

Resharper 10 Ultimate Test Runner changes test directory

I have opened a bug with Jetbrains but I am hoping that posting in SO will get more visibility.

Instead of running the test from the bin\debug directory, the directory is being changed to: C:\Users\{username}\AppData\Local\JetBrains\Installations\ReSharperPlatformVs12

JetBrains ReSharper Ultimate 10.0.2 Build 104.0.20151218.120627 ReSharper 10.0.20151218.130009

The current workaround I have is:

  1. uninstalling ReSharper version 10
  2. uninstall NUnit 3
  3. Install ReSharper version 9.2
  4. installing NUnit Version 2.6.4.

Here is the bug: https://youtrack.jetbrains.com/issue/RSRP-453391

Upvotes: 0

Views: 469

Answers (1)

Alexander Kurakin
Alexander Kurakin

Reputation: 13533

Do you use CurrentDirectory in tests? If so, please refer to NUnit 3.0 Breaking-Changes page:

CurrentDirectory No longer set to the directory containing the test assembly. Use TestContext.TestDirectory to locate that directory.

Upvotes: 2

Related Questions