Unit Test Runner failed to load test assembly when trying to use Nunit 2.5.9

Hello,

We are using Resharper 5.1.1762.1 and have been having no problems. Today we upgraded Nunit to version 2.5.9 and changed resharper to use the new nunit and we are getting the following error:
ReSharper_2010-12-15_10-10-15.png

We can run the tests successfully using the nunit-console.exe runner and we are able to have resharper run the tests if we use the nunit bundled with resharper. What are we doing wrong?

Thanks,
Damien

9 comments
Comment actions Permalink

This occured on two machines running Visual Studio 2008 on Windows 7 x64

0
Comment actions Permalink

Hello Damien,

Does it help if you turn off 'Shadow copy assemblies being tested' option
under ReSharper | Options | Unit Testing? Thank you!

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

This occured on two machines running Visual Studio 2008 on Windows 7
x64

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



0
Comment actions Permalink

Unfortunately turning the Shadow copy off did not help. Getting the same error message.

0
Comment actions Permalink

Hello Damien,

Do I understand correctly that this happens with any tests with NUnit 2.5.9
(even with some sample tests in a newly created class library project)? Thank
you!

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

Unfortunately turning the Shadow copy off did not help. Getting the
same error message.

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



0
Comment actions Permalink

I created a brand new project in Visual Studio 2008. Created a testfixture with one test, following is the code:

Imports NUnit.Framework

<TestFixture()> _
Public Class TestResharperWithNunit
    <SetUp()> _
    Public Sub Setup()
    End Sub

    <TearDown()> _
    Public Sub TearDown()
    End Sub

    <Test()> _
    Public Sub TestTestName()
        Assert.IsTrue(True)
    End Sub
End Class



The Project is using Net Framework 2.0 and I changed the target CPU from Any CPU to x86 and it still fails with the same error message.
0
Comment actions Permalink

I also get this error message when trying to use NUnit 2.5.9. Also tried to uncheck the option regarding shadow-copy assemblies, but get the same error message.

0
Comment actions Permalink

Any update on a possible update to this issue? Still not able to have Resharper use Nunit 2.5.9

0
Comment actions Permalink

Hello Damien,

I was able to reproduce this problem, so I've filed a bug-report: http://youtrack.jetbrains.net/issue/RSRP-202316
and we will look into this problem soon. Thank you!

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

Any update on a possible update to this issue? Still not able to have
Resharper use Nunit 2.5.9

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



0
Comment actions Permalink

Thank you

P.S. I get this same message when I am running the 6.0.2071 EAP and trying to use Nunit 2.5.9

0

Please sign in to leave a comment.