This is the mail archive of the
mauve-discuss@sources.redhat.com
mailing list for the Mauve project.
Re: [Kissme-general] Re: Should I or not submit changes?
- From: Chris Gray <chris dot gray at acunia dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: Dalibor Topic <robilad at yahoo dot com>, Brian Jones <cbj at gnu dot org>, Stephen Crawley <crawley at dstc dot edu dot au>, John Leuner <jewel at pixie dot co dot za>, Alex Lau <alex at dentonlive dot com>, <kissme-general at lists dot sourceforge dot net>, <mauve-discuss at sources dot redhat dot com>
- Date: Fri, 19 Jul 2002 12:33:57 +0200 (CEST)
- Subject: Re: [Kissme-general] Re: Should I or not submit changes?
On 18 Jul 2002, Mark Wielaard wrote:
> Hi,
>
> On Wed, 2002-07-17 at 11:32, Dalibor Topic wrote:
> > Porting tests over to Junit might not be too exciting,
> > though. I believe that (if the mauve hackers decide to
> > allow junit tests) it would be a better option to have
> > both frameworks in parallel for a while. As junit
> > relies on reflection, it wouldn't make much sense to
> > run it on an implementation with broken reflection
> > libraries. ;)
>
> I agree. We should keep the testframework as simple as possible because
> it tests the core library implementation. I would like to avoid
> depending on reflection.
That was indeed one of the reasons why we use the Mauve framework for
testing Wonka, even the company had already Standardised On (tm) JUnit
before we began.
> > The major point junit has for it, in my opinion, is
> > the amount of documentation surrounding it: books,
> > tutorials etc. It seems to be easy to find answers.
> > That could lower the entry barrier for fresh mauve
> > contributors.
>
> It would probably not that much work to have a compatibility API in
> Mauve for junit tests. It isn't that different from the Mauve framework.
> http://junit.sourceforge.net/javadoc/junit/framework/package-summary.html
Yep, we've ported JUnit tests to Mauve rather easily.
> It is nice that JUnit allows you to create a TestSuite by reflection (it
> picks all methods starting with testXXX()) so you don't have to call
> them directly but I don't think supporting that in Mauve is very
> important.
>
> Having a simple/short but good documentation and template/example file
> for Mauve will probably be more important for people wanting to
> contribute then JUnit support though.
>
> Cheers,
>
> Mark
>
Best wishes
--
Chris Gray
VM Architect, ACUNIA