[Mono-devel-list] NUnit Regression test suites.

Charlie Poole cpoole at pooleconsulting.com
Wed Jan 19 18:54:34 EST 2005


Hi Rafael,

> Sorry for distressing you all.
>
> I don't intend to fork anything, 

No problem... anyway, Gert said the "f" word. :-)
 
> I was just experimenting with making a extensibility feature 
> in nunit, that we could later plug to have 
> bug-tracking-conditionals like Nick suggested.

At one point, there was talk about general-purpose conditionals.
But the only thing we could seem to agree on in general was
ignoring something till a certain date, the trouble with a
general-purpose
conditional is that you need some generalized way to discover if the
condition is met...
 
> My intent was to then with something already working talk 
> with you Charlie and the other fine people evolving nunit to 
> see if it could be added, or if some other way could be found 
> to extend or make nunit extensible-enough to help us.
>
> I checked some days ago (and just now) at nunit.org and could 
> just find 2.2, that's why  got the nunit code on our SVN. I 
> double-checked at sf.net just now and found 2.2.2, so I don't 
> know yet anything about the new extensibility features of 
> nunit (I would love to have it as extensible as mbunit).

We haven't been putting our iteration releases on the web site. 
They're rather intended for the more hard-core folks, so we keep
them on sourceforge only.

Unfortunately, the mechanics of doing a test case extension have
changed in the source since we put that release out. For reasons
I won't go into here, the more general approach we use for extending
test fixtures is now used for test cases as well. So you might want
to grab the source from CVS.

The process of defining how to extend NUnit is iterative. I'm working
offline with several people doing extensions. They discover that they
need to do something that's not supported, and we figure out how to 
move the extensibility mechanism to where it supports them. We  
could do the same with your extensio after you get a look at what's
there.
 
> So I will download 2.2.2 and see what the extensibility 
> features are, and then I will come back to talk with you all.
> 
> Sorry, again, for my mindless efforts so far.
> 
> Thank you all, let's have fun and do nunit and mono better,


Absolutely!

Charlie
> 
> On Mon, 17 Jan 2005 23:52:31 -0800, Charlie Poole 
> <cpoole at pooleconsulting.com> wrote:
> > Hi Guys,
> > 
> > I was under the impression we no longer had a mono fork of 
> NUnit. We 
> > worked to do what was needed so that NUnit 2.2 could go 
> into mono as 
> > is... althoguh I'm not sure whether it actually made it 
> into a release 
> > - it might be nunit 2.1.93 still.
> > 
> > The particular feature sounds like it might be pretty specific to 
> > mono, but there might be some way to do it using the new 
> extensibility 
> > features of NUnit that came out in the 2.2.1 release?
> > 
> > I think there's tremendous advantage to users to have a 
> single version 
> > of nunit and to build any special features on top of it, instead of 
> > forking.... even if that's easier in the short term.
> > 
> > Charlie
> > 
> > > -----Original Message-----
> > > From: Gert Driesen [mailto:gert.driesen at pandora.be]
> > > Sent: Monday, January 17, 2005 10:42 PM
> > > To: 'Rafael Teixeira'; 'Mono devel list'
> > > Cc: 'Nick Drochak'; 'Charlie Poole'
> > > Subject: RE: [Mono-devel-list] NUnit Regression test suites.
> > >
> > >
> > > Rafeal,
> > >
> > > Wouldn't it be best to work together with the NUNit team to get 
> > > these features (in some form) in the NUnit project ?
> > >
> > > I'm not sure if adding features to the Mono fork of NUnit 
> is really 
> > > a good idea.
> > >
> > > I've copied Charlie Poole (Nunit) in on this.
> > >
> > > Gert
> > >
> > > > -----Original Message-----
> > > > From: mono-devel-list-admin at lists.ximian.com
> > > > [mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of 
> > > > Rafael Teixeira
> > > > Sent: dinsdag 18 januari 2005 0:26
> > > > To: Mono devel list
> > > > Cc: Nick Drochak
> > > > Subject: Re: [Mono-devel-list] NUnit Regression test suites.
> > > >
> > > > Well this is my initial work on having nunit support
> > > ExternalFilters,
> > > > after that we can just construct RunWhenBugFixed in a 
> > > > Mono-specific way if needed by subclassing:
> > > >
> > > > namespace Mono.UnitTesting {
> > > >
> > > > class RunWhenBugFixedAttribute :  
> NUnit.Framework.RunWhenAttribute 
> > > > {
> > > >
> > > > public RunWhenBugFixedAttribute(string 
> bugNumbersCommaSeparated) : 
> > > > base(typeof(BugzillaChecker), "http://bugzilla.ximian.com/," +
> > > > bugNumbersCommaSeparated) {}
> > > >
> > > > }
> > > >
> > > > ...
> > > >
> > > > I'll will proceed but would love your comments...
> > > >
> > > > Fun,
> > > >
> > > >
> > > > On Mon, 17 Jan 2005 07:52:05 +0900, Nick Drochak 
> > > > <ndrochak at gol.com> wrote:
> > > > > >| Since Rafael Teixeira was willing to implement the 
> > > > > >| "[RunWhenBugFixed("34883")]" thing (which IMHO is
> > > great!), maybe
> > > > > >| it would be better to put the bug number in the
> > > attribute and not
> > > > > >| in a comment...
> > > > > >|
> > > > >
> > > > > That is a much better idea.
> > > > >
> > > > > Since Miguel and I are starting to mark bugs now to get the
> > > > tests green,
> > > > > maybe we should implement a RunWhenBugFixed attribute that
> > > > does nothing at
> > > > > this point. Rafael can add the functionality later.  If we
> > > > have that, we
> > > > > won't have to go back and edit the sources again.
> > > > >
> > > > > I'm not sure what assembly it should live in though, maybe an 
> > > > > nunit-mono.dll?
> > > > >
> > > > > Nick D.
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Mono-devel-list mailing list Mono-devel-list at lists.ximian.com 
> > > > > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > > > >
> > > >
> > > >
> > > > --
> > > > Rafael "Monoman" Teixeira
> > > > ---------------------------------------
> > > > I'm trying to become a "Rosh Gadol" before my own eyes. See 
> > > > http://www.joelonsoftware.com/items/2004/12/06.html for 
> > > > enlightment.
> > > >
> > >
> > 
> > 
> 
> 
> -- 
> Rafael "Monoman" Teixeira
> ---------------------------------------
> I'm trying to become a "Rosh Gadol" before my own eyes. 
> See http://www.joelonsoftware.com/items/2004/12/06.html for 
> enlightment.
> 





More information about the Mono-devel-list mailing list