← Back to team overview

nunit-core team mailing list archive

Re: [Bug 602143] [NEW] Running inconclusive tests leaves assembly open

 

Hi,

I've been trying all weekend to reproduce the bug but I just can't. I don't
know if
it was the order in which I did it or if it's something with the original
project. It's
targeting framework 2.0 if that matters. I can't get the bug back in a new
project
with new tests...

I'll get in touch again if I can ever reproduce the bug reliably.

Thanks
Niklas

On Fri, Jul 9, 2010 at 8:30 PM, Charlie Poole <charlie@xxxxxxxxx> wrote:

> Attempting to reproduce your problem, I get passing tests.
>
> Here is the code I used...
>
> using System;
> using NUnit.Framework;
>
> namespace ClassLibrary1
> {
>    [TestFixture]
>    public class Class1
>    {
>        [Test]
>        public void Test1() { }
>    }
> }
>
> Can you explain how yours differs?
>
> Other info that will help resolve this...
>
> Are you creating and opening an assembly or adding a new assembly to
> an existing project?
> When running the tests are you actually using NUnit or a 3rd party addin?
>
> Charlie
>
> On Mon, Jul 5, 2010 at 11:53 PM, Niklas Winde <niklas.winde@xxxxxxxxx>
> wrote:
> > Public bug reported:
> >
> > Version 2.5.5.10112
> > GUI Runner
> >
> > I created a new test project in my VS2008 solution.
> > I added a few tests without any actual tests in them, just a class and
> methods with TestFixture and Test attributes respectively. No assertions
> inside the test methods.
> > Running the tests in NUnit reports them as not run or inconclusive and
> leaves the assembly dll-file open so VS no longer can build.
> > Adding assertions to the test methods makes it work.
> >
> > ** Affects: nunitv2
> >     Importance: Undecided
> >         Status: New
> >
> > --
> > Running inconclusive tests leaves assembly open
> > https://bugs.launchpad.net/bugs/602143
> > You received this bug notification because you are a member of NUnit
> > Developers, which is subscribed to NUnit V2.
> >
>
> --
> Running inconclusive tests leaves assembly open
> https://bugs.launchpad.net/bugs/602143
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in NUnit V2 Test Framework: New
>
> Bug description:
> Version 2.5.5.10112
> GUI Runner
>
> I created a new test project in my VS2008 solution.
> I added a few tests without any actual tests in them, just a class and
> methods with TestFixture and Test attributes respectively. No assertions
> inside the test methods.
> Running the tests in NUnit reports them as not run or inconclusive and
> leaves the assembly dll-file open so VS no longer can build.
> Adding assertions to the test methods makes it work.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/nunitv2/+bug/602143/+subscribe
>

-- 
Running inconclusive tests leaves assembly open
https://bugs.launchpad.net/bugs/602143
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:
Version 2.5.5.10112
GUI Runner

I created a new test project in my VS2008 solution.
I added a few tests without any actual tests in them, just a class and methods with TestFixture and Test attributes respectively. No assertions inside the test methods.
Running the tests in NUnit reports them as not run or inconclusive and leaves the assembly dll-file open so VS no longer can build.
Adding assertions to the test methods makes it work.





References