BUG: NUnit tests can not be run with "Specified NUnit installation" in Resharper 6

I have Specified NUnit installation (ver 2.5.10).

But if select  NUnit root folder in R# settings, it doesn't execute! If I select  Nunut/lib folder in "Specified NUnit installation" parameter, when it  execute tests, but not load our Nunit addins form Nunit/addins folder.

Resharper even does't load nunit dlls from specified folder, it load it from resharper installation!

I submit an issue to Resharper tracker while Resharper 6 was in RC. Reshaprer 6 already released, but bug not fixed! It's show stopper bug for upgrading to R# 6.

4 comments

Hello Rail,

I've checked this behavior and specifying the 'lib' folder of NUnit installation
works fine for me. I guess that the problem with add-ins is the one that
should be investigated. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I have Specified NUnit installation (ver 2.5.10).

But if select  NUnit root folder in R# settings, it doesn't execute!
If I select  Nunut/lib folder in "Specified NUnit installation"
parameter, when it  execute tests, but not load our Nunit addins form
Nunit/addins folder.

Resharper even does't load nunit dlls from specified folder, it load
it from resharper installation!

I submit an http://youtrack.jetbrains.net/issue/RSRP-272981 to
Resharper tracker while Resharper 6 was in RC. Reshaprer 6 already
released, but bug not fixed! It's show stopper bug for upgrading to R#
6.

---
Original message URL:
http://devnet.jetbrains.net/message/5308182#5308182



0

Andrey,

If I put my addins to Resharper installation folder (..\JetBrains\ReSharper\v6.0\Bin\addins\), my test works fine. Moreover, in this case tests works fine (and addins loads by nunit) if  "Specified NUnit installation". In other words, it means that R# ignore "Run test with" option.

To proof this, I check loaded assemblies in process JetBrains.ReSharper.TaskRunner.MSIL.exe with R# 5 (there "Specified NUnit installation" works fine) and with R#:

Run test with
R# 5 R# 6
NUnit provided with ReSharper loaded NUnit assemblies form R# installation loaded NUnit assemblies form R# installation
Specified NUnit installation loaded NUnit assemblies form R# installation and NUnit assemblies form Specified NUnit installation loaded NUnit assemblies form R# installation


I think it means that R# ignore "Run test with" option.

0

Hello Rail,

Thank you for this information! We will do our best to fix this problem.

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Andrey,

If I put my addins to Resharper installation folder
(..\JetBrains\ReSharper\v6.0\Bin\addins\), my test works fine.
Moreover, in this case tests works fine (and addins loads by nunit) if
"Specified NUnit installation". In other words, it means that R#
ignore "Run test with" option.

To proof this, I check loaded assemblies in process
JetBrains.ReSharper.TaskRunner.MSIL.exe with R# 5 (there "Specified
NUnit installation" works fine) and with R#:
|| Run test with
|| R# 5 || *R# 6

  • ||

| NUnit provided with ReSharper | loaded NUnit assemblies form R#
installation | loaded NUnit assemblies form R# installation |

| Specified NUnit installation | loaded NUnit assemblies form R#
installation and NUnit assemblies form Specified NUnit installation |
loaded NUnit assemblies form R# installation |

I think it means that R# ignore "Run test with" option.

---
Original message URL:
http://devnet.jetbrains.net/message/5308203#5308203



0

Hello, Andrey.

I am looking forward to the fix.

0

Please sign in to leave a comment.