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

Sebastien Pouliot spouliot at videotron.ca
Tue Jan 18 07:39:02 EST 2005


Hello Charlie

> 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.

2.2 has been on SVN HEAD for quite some time, but Mono 1.0 shipped with
2.1.93 so that version still "lives" in the MONO-1-0 branch.

> 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?

2.2.1 isn't on SVN - in part because it doesn't compile properly on Mono,
partly because of a new (and temporary) dependency on winforms - and
partly because I waited for a new package to fix this ;-)

> 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.

I think we all agree on that. From my January 14 email...

<snip>
That's a very good idea. Anybody interested in implementing this should
contact the NUnit developers and work with them to include this (or make
this a separate tool) so we can still benefits from their future versions
(and not lock ourselves with a Mono specific tool).
</snip>

However this shouldn't be a "big" problem to add new tags to our tests as
the tool to process them could (or should) live separately from NUnit. 
That would be similar to the MonoTODO attributes we have in our class 
library to generate the class status web pages.

Sebastien Pouliot
home: spouliot at videotron.ca
blog: http://pages.infinit.net/ctech/poupou.html

> > -----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.
> > > 
> > 
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list