← Back to team overview

nunit-core team mailing list archive

Re: [Bug 673691] Re: nunit.exe session degrades with ever-lengthening "Reloading..." phase when test project is recompiled

 

FYI, there is a bug about changes in the "Reload assemblies when
changed" setting not taking effect until NUnit is restarted.
Otherwise, the multiple reload cycles continue to be a problem that we
are working on.

Charlie

On Fri, Nov 19, 2010 at 4:14 AM, Christoph Nahr
<673691@xxxxxxxxxxxxxxxxxx> wrote:
> Okay, I just tried 2.5.9.10320.  This release no longer produces
> multiple nunit-agent.exe processes, but it still gets locked into
> lengthening "Reloading" cycles.  This happens even when the "Reload
> assemblies when changed" setting is unchecked.
>
> --
> nunit.exe session degrades with ever-lengthening "Reloading..." phase when test project is recompiled
> https://bugs.launchpad.net/bugs/673691
> You received this bug notification because you are a member of NUnit
> Developers, which is subscribed to NUnit V2.
>

-- 
nunit.exe session degrades with ever-lengthening "Reloading..." phase when test project is recompiled
https://bugs.launchpad.net/bugs/673691
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: Confirmed

Bug description:
I'm using nunit to do unit testing for an ASP.NET MVC 2 project. I have a solution with two projects, one being the actual application, and the other being the unit tests. I use the nunit.exe gui to run the unit tests. I invoke the tests by opening up the dll produced by building the project.

The first few times everything runs smoothly, with nunit.exe automatically reloading the project when I make changes and rebuild.  However, this starts to take a longer and longer amount of time, and eventually, it will get into loop where it says "Reloading..." and the window flickers for a second, says "Reloading...", lather rinse repeat.  The behavior is very non-deterministic from what I can observe so far.  Sometimes it's fine for ages, sometimes it dies immediately.  Perhaps particular change to the project cause massive problems in nunit.exe.  I am happy to investigate if someone can point me in the right direction.





References