Comment 2 for bug 582051

Revision history for this message
Jv (jv-ravichandran) wrote : Re: [Bug 582051] [NEW] 2.5.5 cannot find fixture for framework 4.0

Hi Martin,

I installed VS 2010 Ultimate in my machine to replicate your bug scenario
but it works in my machine properly. I saved the .nunit project file in the
bin\debug folder of my VS 2010 test project using Nunit 2.5.10112. I ran the
tests using the default project settings, which says use the default version
of the framework (which will translate to whichever framework against which
the test assembly has been compiled with) and it works absolutely fine.

So, the only difference seems to be in your 64 bit machine. I will try to
replicate the scenario in a 64-bit machine and let you know. kindly reply if
the assembly gets loaded on a 32 bit machine then we will be sure that it is
something specific to 64-bit machines.

Regards,

Jv
http://ravichandranjv.blogspot.com
On Tue, May 18, 2010 at 9:20 AM, Martin Jones <email address hidden>wrote:

> Public bug reported:
>
> Just downloaded v2.5.5.10112 of Nunit. In a new VS2010 project I am
> unable to get either the nunit.exe or nunit-console.exe programs to
> recognize my test cases. The programs run, and after a while tell me
> 'can't find test fixture' in the case of nunit-console, and a similar
> message with nunit. The test class has TestFixture applied, and is
> public, the method has TestCase applied (started as Test) and is also
> public. The project has references to the 2.5.5 versions of
> nunit.core.dll and nunit.framework.dll.
>
> I changed the target runtime to 3.5, recompiled, and it has picked up on
> the test cases immediately (I'm still using the 2.5.5 dlls).
>
> Possibly of interest, the gui really wants to use version 2 of the
> framework. I tried requesting version 4 from the menu but after a while,
> it fails to find the test and reverts back to version 2 of the
> framework.
>
> I'm using VS2010 (evaluation edition at the moment), on 64 bit Vista.
>
> I've tried to find a solution elsewhere, and full apologies in advance
> if it's a school-boy error on my part.
>
> Thanks for your time on the project.
>
> ** Affects: nunitv2
> Importance: Undecided
> Status: New
>
> --
> 2.5.5 cannot find fixture for framework 4.0
> https://bugs.launchpad.net/bugs/582051
> You received this bug notification because you are a member of NUnit
> Developers, which is subscribed to NUnit V2.
>
> Status in NUnit V2 Test Framework: New
>
> Bug description:
> Just downloaded v2.5.5.10112 of Nunit. In a new VS2010 project I am unable
> to get either the nunit.exe or nunit-console.exe programs to recognize my
> test cases. The programs run, and after a while tell me 'can't find test
> fixture' in the case of nunit-console, and a similar message with nunit. The
> test class has TestFixture applied, and is public, the method has TestCase
> applied (started as Test) and is also public. The project has references to
> the 2.5.5 versions of nunit.core.dll and nunit.framework.dll.
>
> I changed the target runtime to 3.5, recompiled, and it has picked up on
> the test cases immediately (I'm still using the 2.5.5 dlls).
>
> Possibly of interest, the gui really wants to use version 2 of the
> framework. I tried requesting version 4 from the menu but after a while, it
> fails to find the test and reverts back to version 2 of the framework.
>
> I'm using VS2010 (evaluation edition at the moment), on 64 bit Vista.
>
> I've tried to find a solution elsewhere, and full apologies in advance if
> it's a school-boy error on my part.
>
> Thanks for your time on the project.
>
>
>

--
Regards,

Ravichandran Jv
http://ravichandranjv.blogspot.com